]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Removed duplicate global; removed obsolete cast.
authorGuenter Knauf <fuankg@apache.org>
Mon, 4 Oct 2010 16:29:43 +0000 (16:29 +0000)
committerGuenter Knauf <fuankg@apache.org>
Mon, 4 Oct 2010 16:29:43 +0000 (16:29 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1004311 13f79535-47bb-0310-9956-ffa450edef68

server/mpm/netware/mpm_netware.c

index 7a35f3fd330ab76977115445e0dea7227d1bf999..c39552d79419bcc6cbdc69e9fbf6650b63e5d4db 100644 (file)
@@ -110,10 +110,6 @@ int nlmUnloadSignaled(int wait);
 
 #define MPM_HARD_LIMITS_FILE "/mpm_default.h"
 
-/* config globals */
-
-server_rec *ap_server_conf;
-
 /* *Non*-shared http_main globals... */
 
 static int ap_threads_per_child=0;         /* Worker threads per child */
@@ -1145,7 +1141,7 @@ static void netware_rewrite_args(process_rec *process)
 
             optbuf[0] = '-';
             optbuf[2] = '\0';
-            apr_getopt_init(&opt, process->pool, process->argc, (char**) process->argv);
+            apr_getopt_init(&opt, process->pool, process->argc, process->argv);
             while (apr_getopt(opt, AP_SERVER_BASEARGS"n:", optbuf + 1, &opt_arg) == APR_SUCCESS) {
                 switch (optbuf[1]) {
                 case 'n':