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/dbase/dbase.c | 4 ++-- ext/dbase/php_dbase.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'ext/dbase') diff --git a/ext/dbase/dbase.c b/ext/dbase/dbase.c index 415f463962..f3b8498d37 100644 --- a/ext/dbase/dbase.c +++ b/ext/dbase/dbase.c @@ -724,13 +724,13 @@ function_entry dbase_functions[] = { {NULL, NULL, NULL} }; -php3_module_entry dbase_module_entry = { +zend_module_entry dbase_module_entry = { "DBase", dbase_functions, PHP_MINIT(dbase), PHP_MSHUTDOWN(dbase), NULL, NULL, NULL, STANDARD_MODULE_PROPERTIES }; #if defined(COMPILE_DL) -DLEXPORT php3_module_entry *get_module(void) { return &dbase_module_entry; } +DLEXPORT zend_module_entry *get_module(void) { return &dbase_module_entry; } #if (WIN32|WINNT) && defined(THREAD_SAFE) diff --git a/ext/dbase/php_dbase.h b/ext/dbase/php_dbase.h index 1f083e7b3a..00800a582b 100644 --- a/ext/dbase/php_dbase.h +++ b/ext/dbase/php_dbase.h @@ -32,7 +32,7 @@ #ifndef _DBASE_H #define _DBASE_H #if DBASE -extern php3_module_entry dbase_module_entry; +extern zend_module_entry dbase_module_entry; #define dbase_module_ptr &dbase_module_entry extern PHP_MINIT_FUNCTION(dbase); -- cgit v1.2.1