]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
ap_main_state and ap_run_mode should be marked "extern"
authorJeff Trawick <trawick@apache.org>
Wed, 16 Feb 2011 12:11:28 +0000 (12:11 +0000)
committerJeff Trawick <trawick@apache.org>
Wed, 16 Feb 2011 12:11:28 +0000 (12:11 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1071217 13f79535-47bb-0310-9956-ffa450edef68

include/http_main.h

index 1079507c80f08ca61f61a0e206b679d69afd7ed6..d23e049924c783e11ca059cb586c1006b26408ad 100644 (file)
@@ -48,9 +48,9 @@ AP_DECLARE_DATA extern server_rec *ap_server_conf;
 /** global pool, for access prior to creation of server_rec */
 AP_DECLARE_DATA extern apr_pool_t *ap_pglobal;
 /** state of the server (startup, exiting, ...) */
-AP_DECLARE_DATA int ap_main_state;
+AP_DECLARE_DATA extern int ap_main_state;
 /** run mode (normal, config test, config dump, ...) */
-AP_DECLARE_DATA int ap_run_mode;
+AP_DECLARE_DATA extern int ap_run_mode;
 
 /* for -C, -c and -D switches */
 /** An array of all -C directives.  These are processed before the server's