summaryrefslogtreecommitdiff
path: root/ace/Process.cpp
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-05-24 02:26:14 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-05-24 02:26:14 +0000
commit49d2b1a9b3ec1595a9d1273b758f7fa2ba5743d5 (patch)
tree96171b67dfe0f35c937cdb69f7c94d900a7b4ff1 /ace/Process.cpp
parentf0ba96d82194fe9720b450a140fc7f722e939f58 (diff)
downloadATCD-49d2b1a9b3ec1595a9d1273b758f7fa2ba5743d5.tar.gz
(env_argv): added "const" to char * type in reaturn value, for argument compatibility in call to execve; (spawn): removed unreachable return statement at end of function
Diffstat (limited to 'ace/Process.cpp')
-rw-r--r--ace/Process.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/ace/Process.cpp b/ace/Process.cpp
index 8f71a7c2941..3e6dd376221 100644
--- a/ace/Process.cpp
+++ b/ace/Process.cpp
@@ -280,8 +280,6 @@ ACE_Process::spawn (ACE_Process_Options &options)
// Server process. The fork succeeded.
return this->child_id_;
}
-
- return 0;
#endif /* ACE_WIN32 */
}
@@ -635,7 +633,7 @@ ACE_Process_Options::command_line_argv (void)
return command_line_argv_;
}
-char **
+char * const *
ACE_Process_Options::env_argv (void)
{
return environment_argv_;