In the Argv declaration, move the const qualifier to the right place.
authorFabian Keil <fk@fabiankeil.de>
Thu, 10 Sep 2009 14:45:17 +0000 (14:45 +0000)
committerFabian Keil <fk@fabiankeil.de>
Thu, 10 Sep 2009 14:45:17 +0000 (14:45 +0000)
loadcfg.c
loadcfg.h

index c0417ae..fc6b557 100644 (file)
--- a/loadcfg.c
+++ b/loadcfg.c
@@ -1,4 +1,4 @@
-const char loadcfg_rcs[] = "$Id: loadcfg.c,v 1.104 2009/07/19 10:07:46 fabiankeil Exp $";
+const char loadcfg_rcs[] = "$Id: loadcfg.c,v 1.105 2009/09/06 14:15:46 fabiankeil Exp $";
 /*********************************************************************
  *
  * File        :  $Source: /cvsroot/ijbswa/current/loadcfg.c,v $
@@ -111,7 +111,7 @@ const char *configfile  = NULL;
  * so we will make argc and argv global.
  */
 int Argc = 0;
-const char **Argv = NULL;
+char * const * Argv = NULL;
 
 static struct file_list *current_configfile = NULL;
 
index b5373fa..37e400f 100644 (file)
--- a/loadcfg.h
+++ b/loadcfg.h
@@ -1,6 +1,6 @@
 #ifndef LOADCFG_H_INCLUDED
 #define LOADCFG_H_INCLUDED
-#define LOADCFG_H_VERSION "$Id: loadcfg.h,v 1.13 2006/07/18 14:48:46 david__schmidt Exp $"
+#define LOADCFG_H_VERSION "$Id: loadcfg.h,v 1.14 2009/05/16 13:27:20 fabiankeil Exp $"
 /*********************************************************************
  *
  * File        :  $Source: /cvsroot/ijbswa/current/loadcfg.h,v $
@@ -61,7 +61,7 @@ extern const char *configfile;
  * we need to have these globally available.
  */
 extern int Argc;
-extern const char **Argv;
+extern char * const * Argv;
 extern short int MustReload;