From 5110ef0a3098514470b2e2f3c9c89af1c73939c6 Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Thu, 10 Sep 2009 14:45:17 +0000 Subject: [PATCH] In the Argv declaration, move the const qualifier to the right place. --- loadcfg.c | 4 ++-- loadcfg.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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; -- 2.39.2