From 17daa9398ad419daba6431e9cc5c39624ad48beb Mon Sep 17 00:00:00 2001 From: Francois Bertel Date: Fri, 12 Jun 2009 13:33:35 -0400 Subject: [PATCH] COMP:Fixed warning with gcc 4.3.3: passing argument 1 of kwsysProcessSetVMSFeature discards qualifiers from pointer target type. --- Source/kwsys/ProcessUNIX.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/kwsys/ProcessUNIX.c b/Source/kwsys/ProcessUNIX.c index ec0d11da1..845fd31e6 100644 --- a/Source/kwsys/ProcessUNIX.c +++ b/Source/kwsys/ProcessUNIX.c @@ -176,7 +176,7 @@ static void kwsysProcessRestoreDefaultSignalHandlers(void); static pid_t kwsysProcessFork(kwsysProcess* cp, kwsysProcessCreateInformation* si); static void kwsysProcessKill(pid_t process_id); -static int kwsysProcessSetVMSFeature(char* name, int value); +static int kwsysProcessSetVMSFeature(const char* name, int value); static int kwsysProcessesAdd(kwsysProcess* cp); static void kwsysProcessesRemove(kwsysProcess* cp); #if KWSYSPE_USE_SIGINFO @@ -2487,7 +2487,7 @@ static void kwsysProcessKill(pid_t process_id) #if defined(__VMS) int decc$feature_get_index(char *name); int decc$feature_set_value(int index, int mode, int value); -static int kwsysProcessSetVMSFeature(char* name, int value) +static int kwsysProcessSetVMSFeature(const char* name, int value) { int i; errno = 0; @@ -2495,7 +2495,7 @@ static int kwsysProcessSetVMSFeature(char* name, int value) return i >= 0 && (decc$feature_set_value(i, 1, value) >= 0 || errno == 0); } #else -static int kwsysProcessSetVMSFeature(char* name, int value) +static int kwsysProcessSetVMSFeature(const char* name, int value) { (void)name; (void)value;