sniper Wed Jul 16 01:47:56 2003 EDT
Modified files: (Branch: PHP_4_3)
/php-src/ext/snmp snmp.c
Log:
MFH: this is internal function -> static
Index: php-src/ext/snmp/snmp.c
diff -u php-src/ext/snmp/snmp.c:1.70.2.7 php-src/ext/snmp/snmp.c:1.70.2.8
--- php-src/ext/snmp/snmp.c:1.70.2.7 Wed Jul 16 00:54:55 2003
+++ php-src/ext/snmp/snmp.c Wed Jul 16 01:47:56 2003
@@ -20,7 +20,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: snmp.c,v 1.70.2.7 2003/07/16 04:54:55 sniper Exp $ */
+/* $Id: snmp.c,v 1.70.2.8 2003/07/16 05:47:56 sniper Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -863,7 +863,8 @@
* 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;
@@ -977,7 +978,6 @@
php_snmpv3(INTERNAL_FUNCTION_PARAM_PASSTHRU, 1);
}
/* }}} */
-
/* {{{ 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 CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php