diff options
author | foobar <sniper@php.net> | 2005-12-06 02:28:41 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2005-12-06 02:28:41 +0000 |
commit | 3e669bc950eb5f36e5f0bec199f8e4b9de4d13f2 (patch) | |
tree | 710f41df00171b7c2daad96f0eba3171f09188b1 /ext/snmp | |
parent | 347032c7530f24cc4979ea297ae8cfda8851c14a (diff) | |
download | php-git-3e669bc950eb5f36e5f0bec199f8e4b9de4d13f2.tar.gz |
MFH: nuke php3 legacy
Diffstat (limited to 'ext/snmp')
-rw-r--r-- | ext/snmp/snmp.c | 2 | ||||
-rw-r--r-- | ext/snmp/winsnmp.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/snmp/snmp.c b/ext/snmp/snmp.c index 3106138e99..029b8f5cf7 100644 --- a/ext/snmp/snmp.c +++ b/ext/snmp/snmp.c @@ -113,7 +113,7 @@ static oid objid_mib[] = {1, 3, 6, 1, 2, 1}; /* {{{ snmp_functions[] */ -function_entry snmp_functions[] = { +zend_function_entry snmp_functions[] = { PHP_FE(snmpget, NULL) PHP_FE(snmpgetnext, NULL) PHP_FE(snmpwalk, NULL) diff --git a/ext/snmp/winsnmp.c b/ext/snmp/winsnmp.c index f4332300a5..7aa4866d43 100644 --- a/ext/snmp/winsnmp.c +++ b/ext/snmp/winsnmp.c @@ -21,7 +21,7 @@ Created from the snmputil sample in the Microsoft SDK for NT /* {{{ snmp_functions[] */ -function_entry snmp_functions[] = { +zend_function_entry snmp_functions[] = { {"snmpget", php3_snmpget, NULL}, {"snmpwalk", php3_snmpwalk, NULL}, {NULL,NULL,NULL} @@ -58,7 +58,7 @@ DLEXPORT zend_module_entry *get_module() { return &snmp_module_entry; } /* {{{ _php_snmp */ void _php_snmp(INTERNAL_FUNCTION_PARAMETERS, int st) { - pval *a1, *a2, *a3; + zval *a1, *a2, *a3; INT operation; LPSTR agent; LPSTR community; |