From: Jim Jagielski Date: Fri, 27 Sep 2002 17:40:24 +0000 (+0000) Subject: Mark globals X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b766ae99395c00a4bdd3dbf3318f366216fd56af;p=thirdparty%2Fapache%2Fhttpd.git Mark globals PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@96990 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/src/include/http_conf_globals.h b/src/include/http_conf_globals.h index 6e0108b5f50..d2dd8cc5e21 100644 --- a/src/include/http_conf_globals.h +++ b/src/include/http_conf_globals.h @@ -103,8 +103,8 @@ extern API_VAR_EXPORT char *ap_server_argv0; extern enum server_token_type ap_server_tokens; -extern int ap_protocol_req_check; -extern int ap_change_shmem_uid; +extern API_VAR_EXPORT int ap_protocol_req_check; +extern API_VAR_EXPORT int ap_change_shmem_uid; /* Trying to allocate these in the config pool gets us into some *nasty* * chicken-and-egg problems in http_main.c --- where do you stick them diff --git a/src/main/http_main.c b/src/main/http_main.c index 769778e188f..4ff3874ce6c 100644 --- a/src/main/http_main.c +++ b/src/main/http_main.c @@ -400,9 +400,9 @@ static int version_locked = 0; enum server_token_type ap_server_tokens = SrvTk_FULL; /* Also global, for http_core and http_protocol */ -int ap_protocol_req_check = 1; +API_VAR_EXPORT int ap_protocol_req_check = 1; -int ap_change_shmem_uid = 0; +API_VAR_EXPORT int ap_change_shmem_uid = 0; /* * This routine is called when the pconf pool is vacuumed. It resets the