summaryrefslogtreecommitdiff
path: root/ext/dbase
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/dbase
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/dbase')
-rw-r--r--ext/dbase/dbase.c4
-rw-r--r--ext/dbase/php_dbase.h2
2 files changed, 3 insertions, 3 deletions
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);