summaryrefslogtreecommitdiff
path: root/include/apr_thread_proc.h
diff options
context:
space:
mode:
authorgstein <gstein@13f79535-47bb-0310-9956-ffa450edef68>2000-11-26 02:03:12 +0000
committergstein <gstein@13f79535-47bb-0310-9956-ffa450edef68>2000-11-26 02:03:12 +0000
commite835ddb3ff7dcf31a243bde6b9e1e081230510bc (patch)
tree6e4f5caabd00445ae67d2b4b027b0957939fc3b5 /include/apr_thread_proc.h
parent0c28de09335c038f21472452bcf4ede4afa23da8 (diff)
downloadlibapr-e835ddb3ff7dcf31a243bde6b9e1e081230510bc.tar.gz
The arguments to apr_create_process() should be "const" since we aren't
going to change them. It is also quite possible that args are constant strings (thus, we *definitely* better not change them). "env" got the same treatment. git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@60795 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/apr_thread_proc.h')
-rw-r--r--include/apr_thread_proc.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/apr_thread_proc.h b/include/apr_thread_proc.h
index fa1012a3d..8fd6b773d 100644
--- a/include/apr_thread_proc.h
+++ b/include/apr_thread_proc.h
@@ -378,8 +378,9 @@ apr_status_t apr_fork(apr_proc_t *proc, apr_pool_t *cont);
* @param cont The pool to use.
*/
apr_status_t apr_create_process(apr_proc_t *new_proc, const char *progname,
- char *const *args, char **env,
- apr_procattr_t *attr, apr_pool_t *cont);
+ const char * const *args,
+ const char * const *env,
+ apr_procattr_t *attr, apr_pool_t *cont);
/**
* Wait for a child process to die