summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--server/mpm/beos/beos.c2
-rw-r--r--server/mpm/beos/beos.h1
-rw-r--r--server/mpm/threaded/mpm.h1
-rw-r--r--server/mpm/threaded/threaded.c2
-rw-r--r--server/mpm/winnt/mpm_winnt.h1
-rw-r--r--support/httpd.exp1
6 files changed, 2 insertions, 6 deletions
diff --git a/server/mpm/beos/beos.c b/server/mpm/beos/beos.c
index c0128df9b5..fcbb638c77 100644
--- a/server/mpm/beos/beos.c
+++ b/server/mpm/beos/beos.c
@@ -90,7 +90,7 @@
*/
int ap_threads_per_child=HARD_THREAD_LIMIT; /* Worker threads per child */
-int ap_max_requests_per_child=0;
+static int ap_max_requests_per_child=0;
static const char *ap_pid_fname=NULL;
static int ap_threads_to_start=0;
static int min_spare_threads=0;
diff --git a/server/mpm/beos/beos.h b/server/mpm/beos/beos.h
index 4b37a65ec9..b942bf9efc 100644
--- a/server/mpm/beos/beos.h
+++ b/server/mpm/beos/beos.h
@@ -60,7 +60,6 @@
#define APACHE_MPM_BEOS_H
extern int ap_threads_per_child;
-extern int ap_max_requests_per_child;
extern int ap_pipe_of_death[2];
extern int ap_extended_status;
extern void clean_child_exit(int);
diff --git a/server/mpm/threaded/mpm.h b/server/mpm/threaded/mpm.h
index 3359f8cca5..51a3965ce3 100644
--- a/server/mpm/threaded/mpm.h
+++ b/server/mpm/threaded/mpm.h
@@ -71,7 +71,6 @@
#define MPM_NOTE_CHILD_KILLED(i) (MPM_CHILD_PID(i) = 0)
extern int ap_threads_per_child;
-extern int ap_max_requests_per_child;
extern int ap_max_daemons_limit;
extern server_rec *ap_server_conf;
extern char ap_coredump_dir[MAX_STRING_LEN];
diff --git a/server/mpm/threaded/threaded.c b/server/mpm/threaded/threaded.c
index 05e29a781b..c90b7d19dc 100644
--- a/server/mpm/threaded/threaded.c
+++ b/server/mpm/threaded/threaded.c
@@ -100,7 +100,7 @@
*/
int ap_threads_per_child=0; /* Worker threads per child */
-int ap_max_requests_per_child=0;
+static int ap_max_requests_per_child=0;
static const char *ap_pid_fname=NULL;
static int ap_daemons_to_start=0;
static int min_spare_threads=0;
diff --git a/server/mpm/winnt/mpm_winnt.h b/server/mpm/winnt/mpm_winnt.h
index cec0a64ce4..c4839bdcae 100644
--- a/server/mpm/winnt/mpm_winnt.h
+++ b/server/mpm/winnt/mpm_winnt.h
@@ -112,7 +112,6 @@ void mpm_start_child_console_handler(void);
/* From winnt.c: */
extern OSVERSIONINFO osver;
-extern int ap_max_requests_per_child;
extern void clean_child_exit(int);
AP_DECLARE(void) ap_start_shutdown(void);
diff --git a/support/httpd.exp b/support/httpd.exp
index 04581acf52..29a0b4d184 100644
--- a/support/httpd.exp
+++ b/support/httpd.exp
@@ -198,7 +198,6 @@ ap_make_etag
ap_make_full_path
ap_make_method_list
ap_matches_request_vhost
-ap_max_requests_per_child
ap_md5
ap_md5_binary
ap_md5contextTo64