From: foobar Date: Wed, 16 Jul 2003 05:47:56 +0000 (+0000) Subject: MFH: this is internal function -> static X-Git-Tag: php-4.3.3RC2~102 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c0bc7b6c80d24853c7b8c8bbab294b77ccb9e393;p=php MFH: this is internal function -> static --- diff --git a/ext/snmp/snmp.c b/ext/snmp/snmp.c index 1d505bcf43..ccd64b3949 100644 --- a/ext/snmp/snmp.c +++ b/ext/snmp/snmp.c @@ -863,7 +863,8 @@ static int netsnmp_session_gen_sec_key(struct snmp_session *s, u_char *pass TSRM * st=11 snmp3_set() - query an agent and set a single value * */ -void php_snmpv3(INTERNAL_FUNCTION_PARAMETERS, int st) { +static void php_snmpv3(INTERNAL_FUNCTION_PARAMETERS, int st) +{ zval **a1, **a2, **a3, **a4, **a5, **a6, **a7, **a8, **a9, **a10, **a11, **a12; struct snmp_session session; long timeout=SNMP_DEFAULT_TIMEOUT; @@ -978,7 +979,6 @@ PHP_FUNCTION(snmp3_get) } /* }}} */ - /* {{{ proto int snmp3_walk(string host, string sec_name, string sec_level, string auth_protocol, string auth_passphrase, string priv_protocol, string priv_passphrase, string object_id [, int timeout [, int retries]]) Fetch the value of a SNMP object */ PHP_FUNCTION(snmp3_walk)