projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3c371f1
)
In the Argv declaration, move the const qualifier to the right place.
author
Fabian Keil
<fk@fabiankeil.de>
Thu, 10 Sep 2009 14:45:17 +0000
(14:45 +0000)
committer
Fabian Keil
<fk@fabiankeil.de>
Thu, 10 Sep 2009 14:45:17 +0000
(14:45 +0000)
loadcfg.c
patch
|
blob
|
history
loadcfg.h
patch
|
blob
|
history
diff --git
a/loadcfg.c
b/loadcfg.c
index
c0417ae
..
fc6b557
100644
(file)
--- a/
loadcfg.c
+++ b/
loadcfg.c
@@
-1,4
+1,4
@@
-const char loadcfg_rcs[] = "$Id: loadcfg.c,v 1.10
4 2009/07/19 10:07
:46 fabiankeil Exp $";
+const char loadcfg_rcs[] = "$Id: loadcfg.c,v 1.10
5 2009/09/06 14:15
:46 fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/loadcfg.c,v $
/*********************************************************************
*
* 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;
* so we will make argc and argv global.
*/
int Argc = 0;
-c
onst char **
Argv = NULL;
+c
har * const *
Argv = NULL;
static struct file_list *current_configfile = NULL;
static struct file_list *current_configfile = NULL;
diff --git
a/loadcfg.h
b/loadcfg.h
index
b5373fa
..
37e400f
100644
(file)
--- a/
loadcfg.h
+++ b/
loadcfg.h
@@
-1,6
+1,6
@@
#ifndef LOADCFG_H_INCLUDED
#define LOADCFG_H_INCLUDED
#ifndef LOADCFG_H_INCLUDED
#define LOADCFG_H_INCLUDED
-#define LOADCFG_H_VERSION "$Id: loadcfg.h,v 1.1
3 2006/07/18 14:48:46 david__schmidt
Exp $"
+#define LOADCFG_H_VERSION "$Id: loadcfg.h,v 1.1
4 2009/05/16 13:27:20 fabiankeil
Exp $"
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/loadcfg.h,v $
/*********************************************************************
*
* 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;
* we need to have these globally available.
*/
extern int Argc;
-extern c
onst char **
Argv;
+extern c
har * const *
Argv;
extern short int MustReload;
extern short int MustReload;