summaryrefslogtreecommitdiff
path: root/threadproc/os2
diff options
context:
space:
mode:
authorbjh <bjh@13f79535-47bb-0310-9956-ffa450edef68>1999-10-14 02:51:47 +0000
committerbjh <bjh@13f79535-47bb-0310-9956-ffa450edef68>1999-10-14 02:51:47 +0000
commitb326624e52aef4eaa9d7dc7457dbdde9d1219bfa (patch)
tree4d317e84d8b3f588934d25bb75c6019d584bf110 /threadproc/os2
parent6b21f2a98ba368cac9be638c49092679b4c73ff3 (diff)
downloadlibapr-b326624e52aef4eaa9d7dc7457dbdde9d1219bfa.tar.gz
OS/2: Add some 'const's to match prototypes.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/trunk@59345 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'threadproc/os2')
-rw-r--r--threadproc/os2/proc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/threadproc/os2/proc.c b/threadproc/os2/proc.c
index e8cec1a33..03339736b 100644
--- a/threadproc/os2/proc.c
+++ b/threadproc/os2/proc.c
@@ -115,8 +115,7 @@ ap_status_t ap_setprocattr_io(struct procattr_t *attr, ap_int32_t in,
return APR_SUCCESS;
}
-ap_status_t ap_setprocattr_dir(struct procattr_t *attr,
- char *dir)
+ap_status_t ap_setprocattr_dir(struct procattr_t *attr, const char *dir)
{
attr->currdir = ap_pstrdup(attr->cntxt, dir);
if (attr->currdir) {
@@ -159,7 +158,7 @@ ap_status_t ap_fork(struct proc_t **proc, ap_context_t *cont)
return APR_INPARENT;
}
-ap_status_t ap_create_process(struct proc_t **new, char *progname,
+ap_status_t ap_create_process(struct proc_t **new, const char *progname,
char *const args[], char **env,
struct procattr_t *attr, ap_context_t *cont)
{