summaryrefslogtreecommitdiff
path: root/ext/icap
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-07-30 01:56:43 +0000
committerZeev Suraski <zeev@php.net>2001-07-30 01:56:43 +0000
commit1c25b8dd532961ecb09932b182457ca0adcf8b57 (patch)
tree2996afec821096218156f1d914301ad589edf897 /ext/icap
parentb57703825be0ff40d34ee257ce14c453c4bffb98 (diff)
downloadphp-git-1c25b8dd532961ecb09932b182457ca0adcf8b57.tar.gz
Avoid TSRMLS_FETCH()'s, and clean up a bit of stale extern's and layout on the way
Diffstat (limited to 'ext/icap')
-rw-r--r--ext/icap/php_icap.c2
-rw-r--r--ext/icap/php_icap.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/ext/icap/php_icap.c b/ext/icap/php_icap.c
index d0fa13cf16..7856ad6b89 100644
--- a/ext/icap/php_icap.c
+++ b/ext/icap/php_icap.c
@@ -130,9 +130,7 @@ PHP_MINFO_FUNCTION(icap)
PHP_MINIT_FUNCTION(icap)
{
-
le_icap = zend_register_list_destructors_ex(cal_close_it, NULL, "icap", module_number);
-
return SUCCESS;
}
diff --git a/ext/icap/php_icap.h b/ext/icap/php_icap.h
index 2370f3d270..196dbc02a1 100644
--- a/ext/icap/php_icap.h
+++ b/ext/icap/php_icap.h
@@ -9,7 +9,7 @@
#include "build-defs.h"
#endif
-extern PHP_MINIT_FUNCTION(icap);
+PHP_MINIT_FUNCTION(icap);
PHP_MINFO_FUNCTION(icap);
/* Functions accessable to PHP */