diff options
Diffstat (limited to 'ext/snmp/snmp.c')
| -rw-r--r-- | ext/snmp/snmp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/snmp/snmp.c b/ext/snmp/snmp.c index 5943decc83..7f11bb8413 100644 --- a/ext/snmp/snmp.c +++ b/ext/snmp/snmp.c @@ -268,14 +268,14 @@ retry: /* {{{ proto string snmpget(string host, string community, string object_id [, int timeout [, int retries]]) Fetch an SNMP object */ -void php3_snmpget(INTERNAL_FUNCTION_PARAMETERS) { +PHP_FUNCTION(snmpget) { _php3_snmp(INTERNAL_FUNCTION_PARAM_PASSTHRU,1); } /* }}} */ /* {{{ proto string snmpwalk(string host, string community, string object_id [, int timeout [, int retries]]) Return all objects under the specified object id */ -void php3_snmpwalk(INTERNAL_FUNCTION_PARAMETERS) { +PHP_FUNCTION(snmpwalk) { return _php3_snmp(INTERNAL_FUNCTION_PARAM_PASSTHRU,2); } /* }}} */ |
