summaryrefslogtreecommitdiff
path: root/ext/session
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2001-05-23 17:10:40 +0000
committerAndi Gutmans <andi@php.net>2001-05-23 17:10:40 +0000
commit14ac3d74b9689093397d8d2d782f81678c62a7ec (patch)
tree9ef98a852d8264d3bddc039134a233137be88c77 /ext/session
parent64b79f29c938b9115912a94c9bd3bccaf65965ef (diff)
downloadphp-git-14ac3d74b9689093397d8d2d782f81678c62a7ec.tar.gz
- Nuke GINIT
Diffstat (limited to 'ext/session')
-rw-r--r--ext/session/mod_mm.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/ext/session/mod_mm.c b/ext/session/mod_mm.c
index d6a20f9b38..1f9d00a7b5 100644
--- a/ext/session/mod_mm.c
+++ b/ext/session/mod_mm.c
@@ -204,7 +204,7 @@ static void ps_mm_destroy(ps_mm *data)
mm_destroy(data->mm);
}
-PHP_GINIT_FUNCTION(ps_mm)
+PHP_MINIT_FUNCTION(ps_mm)
{
ps_mm_instance = calloc(sizeof(*ps_mm_instance), 1);
if (ps_mm_initialize(ps_mm_instance, PS_MM_PATH) != SUCCESS) {
@@ -215,7 +215,7 @@ PHP_GINIT_FUNCTION(ps_mm)
return SUCCESS;
}
-PHP_GSHUTDOWN_FUNCTION(ps_mm)
+PHP_MSHUTDOWN_FUNCTION(ps_mm)
{
if (ps_mm_instance) {
ps_mm_destroy(ps_mm_instance);
@@ -346,11 +346,10 @@ PS_GC_FUNC(mm)
zend_module_entry php_session_mm_module = {
"Session MM",
NULL,
- NULL, NULL,
+ PHP_MINIT(ps_mm), PHP_MSHUTDOWN(ps_mm),
NULL, NULL,
NULL,
- PHP_GINIT(ps_mm), PHP_GSHUTDOWN(ps_mm),
- STANDARD_MODULE_PROPERTIES_EX
+ STANDARD_MODULE_PROPERTIES
};
#endif