From: Fabian Keil Date: Thu, 10 Sep 2009 14:45:17 +0000 (+0000) Subject: In the Argv declaration, move the const qualifier to the right place. X-Git-Tag: v_3_0_15~70 X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=commitdiff_plain;h=5110ef0a3098514470b2e2f3c9c89af1c73939c6 In the Argv declaration, move the const qualifier to the right place. --- diff --git a/loadcfg.c b/loadcfg.c index c0417aee..fc6b557d 100644 --- 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; diff --git a/loadcfg.h b/loadcfg.h index b5373fa7..37e400f7 100644 --- 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;