From b766ae99395c00a4bdd3dbf3318f366216fd56af Mon Sep 17 00:00:00 2001 From: Jim Jagielski Date: Fri, 27 Sep 2002 17:40:24 +0000 Subject: [PATCH] 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 --- src/include/http_conf_globals.h | 4 ++-- src/main/http_main.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 -- 2.47.3