diff options
author | Dan Gohman <gohman@apple.com> | 2007-09-14 20:08:19 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2007-09-14 20:08:19 +0000 |
commit | cb648f90a26eb05ae8d508d500ca12881df50824 (patch) | |
tree | 8c3bb052505c1aa007d453755f4ee921341127c8 /lib/System/Unix/Program.inc | |
parent | 7effac5475c9057dd1c384d33f41d518ff387207 (diff) |
Remove spurious consts. This fixes warnings with compilers that
are strict about such things.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41956 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/System/Unix/Program.inc')
-rw-r--r-- | lib/System/Unix/Program.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/System/Unix/Program.inc b/lib/System/Unix/Program.inc index 896e8090e7..6517a96b09 100644 --- a/lib/System/Unix/Program.inc +++ b/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); |