summaryrefslogtreecommitdiff
path: root/ext/filepro
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/filepro
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/filepro')
-rw-r--r--ext/filepro/filepro.c4
-rw-r--r--ext/filepro/php_filepro.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/filepro/filepro.c b/ext/filepro/filepro.c
index caa32669df..abc8de25ec 100644
--- a/ext/filepro/filepro.c
+++ b/ext/filepro/filepro.c
@@ -131,14 +131,14 @@ function_entry filepro_functions[] = {
{NULL, NULL, NULL}
};
-php3_module_entry filepro_module_entry = {
+zend_module_entry filepro_module_entry = {
"FilePro", filepro_functions, PHP_MINIT(filepro), PHP_MSHUTDOWN(filepro), NULL, NULL, NULL, STANDARD_MODULE_PROPERTIES
};
#if COMPILE_DL
#include "dl/phpdl.h"
-DLEXPORT php3_module_entry *get_module(void) { return &filepro_module_entry; }
+DLEXPORT zend_module_entry *get_module(void) { return &filepro_module_entry; }
#if (WIN32|WINNT) && defined(THREAD_SAFE)
/*NOTE: You should have an odbc.def file where you
diff --git a/ext/filepro/php_filepro.h b/ext/filepro/php_filepro.h
index 850eeb8dcd..fc70497cdb 100644
--- a/ext/filepro/php_filepro.h
+++ b/ext/filepro/php_filepro.h
@@ -39,7 +39,7 @@
#ifndef _FILEPRO_H
#define _FILEPRO_H
#if HAVE_FILEPRO
-extern php3_module_entry filepro_module_entry;
+extern zend_module_entry filepro_module_entry;
#define phpext_filepro_ptr &filepro_module_entry
PHP_FUNCTION(filepro);