diff options
author | Zeev Suraski <zeev@php.net> | 1999-12-17 20:55:31 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 1999-12-17 20:55:31 +0000 |
commit | fb1c77bd4f8a636ba47d720f8ca65fc6baae836d (patch) | |
tree | 1be0390e76d422f7abc36f577178f9683536fa84 /ext/dav | |
parent | 71dddd7db7e768ae8145e085fcbb6b6db4a1c40a (diff) | |
download | php-git-fb1c77bd4f8a636ba47d720f8ca65fc6baae836d.tar.gz |
- Made PHP_VERSION and PHP_OS work again
- More php3_ cleanup
@- Restored the PHP_VERSION and PHP_OS constants (Zeev)
Diffstat (limited to 'ext/dav')
-rw-r--r-- | ext/dav/dav.c | 4 | ||||
-rw-r--r-- | ext/dav/php_dav.h | 2 |
2 files changed, 3 insertions, 3 deletions
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 *); |