1 |
--- php-4.3.11/ext/snmp/php_snmp.h.shutdown |
2 |
+++ php-4.3.11/ext/snmp/php_snmp.h |
3 |
@@ -39,7 +39,6 @@ |
4 |
#endif |
5 |
|
6 |
PHP_MINIT_FUNCTION(snmp); |
7 |
-PHP_MSHUTDOWN_FUNCTION(snmp); |
8 |
PHP_MINFO_FUNCTION(snmp); |
9 |
|
10 |
PHP_FUNCTION(snmpget); |
11 |
--- php-4.3.11/ext/snmp/snmp.c.shutdown |
12 |
+++ php-4.3.11/ext/snmp/snmp.c |
13 |
@@ -156,7 +156,7 @@ |
14 |
"snmp", |
15 |
snmp_functions, |
16 |
PHP_MINIT(snmp), |
17 |
- PHP_MSHUTDOWN(snmp), |
18 |
+ NULL, |
19 |
NULL, |
20 |
NULL, |
21 |
PHP_MINFO(snmp), |
22 |
@@ -208,16 +208,6 @@ |
23 |
} |
24 |
/* }}} */ |
25 |
|
26 |
-/* {{{ PHP_MSHUTDOWN_FUNCTION |
27 |
- */ |
28 |
-PHP_MSHUTDOWN_FUNCTION(snmp) |
29 |
-{ |
30 |
- snmp_shutdown("snmpapp"); |
31 |
- |
32 |
- return SUCCESS; |
33 |
-} |
34 |
-/* }}} */ |
35 |
- |
36 |
/* {{{ PHP_MINFO_FUNCTION |
37 |
*/ |
38 |
PHP_MINFO_FUNCTION(snmp) |