summaryrefslogtreecommitdiff
path: root/ext/snmp
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/snmp
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/snmp')
-rw-r--r--ext/snmp/php_snmp.h2
-rw-r--r--ext/snmp/snmp.c4
-rw-r--r--ext/snmp/winsnmp.c4
3 files changed, 5 insertions, 5 deletions
diff --git a/ext/snmp/php_snmp.h b/ext/snmp/php_snmp.h
index 46fbc7e961..3c618279ba 100644
--- a/ext/snmp/php_snmp.h
+++ b/ext/snmp/php_snmp.h
@@ -31,7 +31,7 @@
#define DLEXPORT
#endif
-extern php3_module_entry snmp_module_entry;
+extern zend_module_entry snmp_module_entry;
#define snmp_module_ptr &snmp_module_entry
extern int php3i_snmp_init(INIT_FUNC_ARGS);
diff --git a/ext/snmp/snmp.c b/ext/snmp/snmp.c
index c5a2d3faca..7d696021de 100644
--- a/ext/snmp/snmp.c
+++ b/ext/snmp/snmp.c
@@ -84,12 +84,12 @@ function_entry snmp_functions[] = {
{NULL,NULL,NULL}
};
-php3_module_entry snmp_module_entry = {
+zend_module_entry snmp_module_entry = {
"SNMP",snmp_functions,php3i_snmp_init,NULL,NULL,NULL,php3_info_snmp,STANDARD_MODULE_PROPERTIES
};
#if COMPILE_DL
-DLEXPORT php3_module_entry *get_module() { return &snmp_module_entry; };
+DLEXPORT zend_module_entry *get_module() { return &snmp_module_entry; };
#endif
/* THREAD_LS snmp_module php3_snmp_module; - may need one of these at some point */
diff --git a/ext/snmp/winsnmp.c b/ext/snmp/winsnmp.c
index 9b176e5126..e18acc7dd6 100644
--- a/ext/snmp/winsnmp.c
+++ b/ext/snmp/winsnmp.c
@@ -28,12 +28,12 @@ function_entry snmp_functions[] = {
{NULL,NULL,NULL}
};
-php3_module_entry snmp_module_entry = {
+zend_module_entry snmp_module_entry = {
"SNMP",snmp_functions,NULL,NULL,NULL,NULL,NULL,0,0,0,NULL
};
#if COMPILE_DL
-DLEXPORT php3_module_entry *get_module() { return &snmp_module_entry; }
+DLEXPORT zend_module_entry *get_module() { return &snmp_module_entry; }
#endif
#define GET 1