summaryrefslogtreecommitdiffstats
path: root/llvm/lib/System/Unix
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-09-14 20:08:19 +0000
committerDan Gohman <gohman@apple.com>2007-09-14 20:08:19 +0000
commit58c468fb09fd79c6f0af348f8185734b46766100 (patch)
tree64f466d332ff2d380c342634181addc1b5a182f8 /llvm/lib/System/Unix
parentaefb23092ca0be00a2bde958518039102d7939fe (diff)
downloadbcm5719-llvm-58c468fb09fd79c6f0af348f8185734b46766100.tar.gz
bcm5719-llvm-58c468fb09fd79c6f0af348f8185734b46766100.zip
Remove spurious consts. This fixes warnings with compilers that
are strict about such things. llvm-svn: 41956
Diffstat (limited to 'llvm/lib/System/Unix')
-rw-r--r--llvm/lib/System/Unix/Program.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/System/Unix/Program.inc b/llvm/lib/System/Unix/Program.inc
index 896e8090e70..6517a96b09b 100644
--- a/llvm/lib/System/Unix/Program.inc
+++ b/llvm/lib/System/Unix/Program.inc
@@ -196,9 +196,9 @@ Program::ExecuteAndWait(const Path& path,
// Execute!
if (envp != 0)
- execve (path.c_str(), (char** const)args, (char**)envp);
+ execve (path.c_str(), (char**)args, (char**)envp);
else
- execv (path.c_str(), (char** const)args);
+ execv (path.c_str(), (char**)args);
// If the execve() failed, we should exit and let the parent pick up
// our non-zero exit status.
exit (errno);
OpenPOWER on IntegriCloud