summaryrefslogtreecommitdiff
path: root/main.h
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-04-21 04:02:11 +0000
committerZeev Suraski <zeev@php.net>1999-04-21 04:02:11 +0000
commitc5af324ec328b6d99971d53f7eeef1dae6bd017f (patch)
tree2875371c936403d820507124bc3dfa6e2fb27009 /main.h
parent7a87fcbbdac80f77f8b6ceb16436d398019c6091 (diff)
downloadphp-git-c5af324ec328b6d99971d53f7eeef1dae6bd017f.tar.gz
More thread safety work
Diffstat (limited to 'main.h')
-rw-r--r--main.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/main.h b/main.h
index 4106f68cc5..3f4501210c 100644
--- a/main.h
+++ b/main.h
@@ -36,6 +36,7 @@
#define _MAIN_H
#include "zend_globals.h"
+#include "php_globals.h"
#define INIT_ENVIRONMENT 0x80
#define INIT_REQUEST_INFO 0x400
@@ -46,11 +47,11 @@
#define INIT_WINSOCK 0x100000
#define INIT_CLASS_TABLE 0x400000
-int php3_request_startup(CLS_D ELS_DC);
+int php3_request_startup(CLS_D ELS_DC PLS_DC);
extern void php3_request_shutdown(void *dummy INLINE_TLS);
extern void php3_request_shutdown_for_exec(void *dummy);
-extern int php3_module_startup(CLS_D ELS_DC);
-extern void php3_module_shutdown(INLINE_TLS_VOID);
+extern int php3_module_startup();
+extern void php3_module_shutdown();
extern void php3_module_shutdown_for_exec(void);
#ifndef THREAD_SAFE