summaryrefslogtreecommitdiff
path: root/ext/zlib/zlib.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-12-17 20:55:31 +0000
committerZeev Suraski <zeev@php.net>1999-12-17 20:55:31 +0000
commitfb1c77bd4f8a636ba47d720f8ca65fc6baae836d (patch)
tree1be0390e76d422f7abc36f577178f9683536fa84 /ext/zlib/zlib.c
parent71dddd7db7e768ae8145e085fcbb6b6db4a1c40a (diff)
downloadphp-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/zlib/zlib.c')
-rw-r--r--ext/zlib/zlib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/zlib/zlib.c b/ext/zlib/zlib.c
index a42a1bcc95..b0c6b39294 100644
--- a/ext/zlib/zlib.c
+++ b/ext/zlib/zlib.c
@@ -98,7 +98,7 @@ function_entry php3_zlib_functions[] = {
{NULL, NULL, NULL}
};
-php3_module_entry php3_zlib_module_entry = {
+zend_module_entry php3_zlib_module_entry = {
"zlib",
php3_zlib_functions,
PHP_MINIT(zlib),
@@ -110,7 +110,7 @@ php3_module_entry php3_zlib_module_entry = {
};
#if defined(COMPILE_DL)
-DLEXPORT php3_module_entry *get_module(void) { return &php_zlib_module_entry; }
+DLEXPORT zend_module_entry *get_module(void) { return &php_zlib_module_entry; }
#endif
static void phpi_destructor_gzclose(gzFile *zp) {