extern int ap_threads_per_child;
extern int ap_max_daemons_limit;
extern server_rec *ap_server_conf;
-extern int ap_my_pid;
extern char ap_coredump_dir[MAX_STRING_LEN];
#endif /* APACHE_MPM_PREFORK_H */
static apr_pool_t *pconf; /* Pool for config stuff */
static apr_pool_t *pchild; /* Pool for httpd child stuff */
-int ap_my_pid; /* it seems silly to call getpid all the time */
+static pid_t ap_my_pid; /* it seems silly to call getpid all the time */
#ifndef MULTITHREAD
static int my_child_num;
#endif
extern int ap_threads_per_child;
extern int ap_max_requests_per_child;
extern int ap_max_daemons_limit;
-extern unsigned int ap_my_pid;
extern server_rec *ap_server_conf;
extern char ap_coredump_dir[MAX_STRING_LEN];
static apr_pool_t *pconf; /* Pool for config stuff */
static apr_pool_t *pchild; /* Pool for httpd child stuff */
-unsigned int ap_my_pid; /* Linux getpid() doesn't work except in main
+static pid_t ap_my_pid; /* Linux getpid() doesn't work except in main
thread. Use this instead */
/* Keep track of the number of worker threads currently active */
static int worker_thread_count;