From fb1c77bd4f8a636ba47d720f8ca65fc6baae836d Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Fri, 17 Dec 1999 20:55:31 +0000 Subject: - Made PHP_VERSION and PHP_OS work again - More php3_ cleanup @- Restored the PHP_VERSION and PHP_OS constants (Zeev) --- ext/dav/dav.c | 4 ++-- ext/dav/php_dav.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'ext/dav') diff --git a/ext/dav/dav.c b/ext/dav/dav.c index 0f8cd56a7a..ca57c6ecb2 100644 --- a/ext/dav/dav.c +++ b/ext/dav/dav.c @@ -70,7 +70,7 @@ phpdav_module php3_dav_module; /* {{{ dynamically loadable module stuff */ # if COMPILE_DL -DLEXPORT php3_module_entry *get_module() { return &phpdav_module_entry; }; +DLEXPORT zend_module_entry *get_module() { return &phpdav_module_entry; }; # endif /* COMPILE_DL */ /* }}} */ @@ -90,7 +90,7 @@ function_entry phpdav_functions[] = { {NULL, NULL, NULL} }; -php3_module_entry phpdav_module_entry = { +zend_module_entry phpdav_module_entry = { "DAV", /* extension name */ phpdav_functions, /* extension function list */ php3_minit_phpdav, /* extension-wide startup function */ diff --git a/ext/dav/php_dav.h b/ext/dav/php_dav.h index b1ab062de1..3b0fbed2fb 100644 --- a/ext/dav/php_dav.h +++ b/ext/dav/php_dav.h @@ -40,7 +40,7 @@ typedef struct { char *mkcol_create_handler; } phpdav_module; -extern php3_module_entry phpdav_module_entry; +extern zend_module_entry phpdav_module_entry; # define phpdav_module_ptr &phpdav_module_entry int phpdav_mkcol_test_handler(request_rec *); -- cgit v1.2.1