From 6c7394101b7ae183012e2d453f5ddad1176c0e48 Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Thu, 7 Aug 2003 16:44:11 +0000 Subject: [PATCH] Remove 'proto' from internal functions --- ext/domxml/php_domxml.c | 4 +--- ext/snmp/snmp.c | 12 ++++++------ 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/ext/domxml/php_domxml.c b/ext/domxml/php_domxml.c index 22d146d0fb..1a17c63337 100644 --- a/ext/domxml/php_domxml.c +++ b/ext/domxml/php_domxml.c @@ -4716,9 +4716,7 @@ static int node_namespace(zval **attributes, xmlNode *nodep TSRMLS_DC) /* }}} */ #endif -/* We don't have a type zval. **attributes is also very unusual. */ - -/* {{{ proto int node_attributes(zval **attributes, int node) +/* {{{ int node_attributes(zval **attributes, int node) Returns list of children nodes */ static int node_attributes(zval **attributes, xmlNode *nodep TSRMLS_DC) { diff --git a/ext/snmp/snmp.c b/ext/snmp/snmp.c index 60e1c9e671..d5051dc1c6 100644 --- a/ext/snmp/snmp.c +++ b/ext/snmp/snmp.c @@ -703,7 +703,7 @@ PHP_FUNCTION(snmpset) } /* }}} */ -/* {{{ proto int netsnmp_session_set_sec_name(struct snmp_session *s, char *name) +/* {{{ int netsnmp_session_set_sec_name(struct snmp_session *s, char *name) Set the security name in the snmpv3 session */ static int netsnmp_session_set_sec_name(struct snmp_session *s, char *name) { @@ -716,7 +716,7 @@ static int netsnmp_session_set_sec_name(struct snmp_session *s, char *name) } /* }}} */ -/* {{{ proto int netsnmp_session_set_sec_level(struct snmp_session *s, char *level) +/* {{{ int netsnmp_session_set_sec_level(struct snmp_session *s, char *level) Set the security level in the snmpv3 session */ static int netsnmp_session_set_sec_level(struct snmp_session *s, char *level TSRMLS_DC) { @@ -737,7 +737,7 @@ static int netsnmp_session_set_sec_level(struct snmp_session *s, char *level TSR } /* }}} */ -/* {{{ proto int netsnmp_session_set_auth_protocol(struct snmp_session *s, char *prot) +/* {{{ int netsnmp_session_set_auth_protocol(struct snmp_session *s, char *prot) Set the authentication protocol in the snmpv3 session */ static int netsnmp_session_set_auth_protocol(struct snmp_session *s, char *prot TSRMLS_DC) { @@ -758,7 +758,7 @@ static int netsnmp_session_set_auth_protocol(struct snmp_session *s, char *prot } /* }}} */ -/* {{{ proto int netsnmp_session_set_sec_protocol(struct snmp_session *s, char *prot) +/* {{{ int netsnmp_session_set_sec_protocol(struct snmp_session *s, char *prot) Set the security protocol in the snmpv3 session */ static int netsnmp_session_set_sec_protocol(struct snmp_session *s, char *prot TSRMLS_DC) { @@ -789,7 +789,7 @@ static int netsnmp_session_set_sec_protocol(struct snmp_session *s, char *prot T } /* }}} */ -/* {{{ proto int netsnmp_session_gen_auth_key(struct snmp_session *s, char *pass) +/* {{{ int netsnmp_session_gen_auth_key(struct snmp_session *s, char *pass) Make key from pass phrase in the snmpv3 session */ static int netsnmp_session_gen_auth_key(struct snmp_session *s, char *pass TSRMLS_DC) { @@ -821,7 +821,7 @@ static int netsnmp_session_gen_auth_key(struct snmp_session *s, char *pass TSRML } /* }}} */ -/* {{{ proto int netsnmp_session_gen_sec_key(struct snmp_session *s, u_char *pass) +/* {{{ int netsnmp_session_gen_sec_key(struct snmp_session *s, u_char *pass) Make key from pass phrase in the snmpv3 session */ static int netsnmp_session_gen_sec_key(struct snmp_session *s, u_char *pass TSRMLS_DC) { -- 2.40.0