]> granicus.if.org Git - php/commitdiff
MFH: this is internal function -> static
authorfoobar <sniper@php.net>
Wed, 16 Jul 2003 05:47:56 +0000 (05:47 +0000)
committerfoobar <sniper@php.net>
Wed, 16 Jul 2003 05:47:56 +0000 (05:47 +0000)
ext/snmp/snmp.c

index 1d505bcf43a9c36e5d67a5658b94dea704e2ba14..ccd64b3949b5c963162da058c1402b89569db90b 100644 (file)
@@ -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)