diff options
author | Francois Bertel <francois.bertel@kitware.com> | 2009-06-12 17:33:35 (GMT) |
---|---|---|
committer | Francois Bertel <francois.bertel@kitware.com> | 2009-06-12 17:33:35 (GMT) |
commit | 17daa9398ad419daba6431e9cc5c39624ad48beb (patch) | |
tree | 4f8f57d5972106ec2d7cae625b18f55e984a54f3 /Source/kwsys/ProcessUNIX.c | |
parent | 133a778e2d1dfc05f372f3f33c7b677a1c49bbf3 (diff) | |
download | CMake-17daa9398ad419daba6431e9cc5c39624ad48beb.zip CMake-17daa9398ad419daba6431e9cc5c39624ad48beb.tar.gz CMake-17daa9398ad419daba6431e9cc5c39624ad48beb.tar.bz2 |
COMP:Fixed warning with gcc 4.3.3: passing argument 1 of kwsysProcessSetVMSFeature discards qualifiers from pointer target type.
Diffstat (limited to 'Source/kwsys/ProcessUNIX.c')
-rw-r--r-- | Source/kwsys/ProcessUNIX.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/kwsys/ProcessUNIX.c b/Source/kwsys/ProcessUNIX.c index ec0d11d..845fd31 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; |