process_rec should just be storing argv the same way that getopt
expects it.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85361
13f79535-47bb-0310-9956-
ffa450edef68
ap_pool_t *pool; /* Global pool. Please try to cleared on _all_ exits */
ap_pool_t *pconf; /* aka configuration pool, cleared on restarts */
int argc;
- const char **argv;
+ char *const *argv;
const char *short_name;
};
exit(process_exit_value);
}
-static process_rec *create_process(int argc, const char **argv)
+static process_rec *create_process(int argc, char *const *argv)
{
process_rec *process;
#ifndef WIN32 /* done in main_win32.c */
ap_initialize();
#endif
- process = create_process(argc, (const char **)argv);
+ process = create_process(argc, (char *const *)argv);
pglobal = process->pool;
pconf = process->pconf;
ap_server_argv0 = process->short_name;