summaryrefslogtreecommitdiff
path: root/ext/hyperwave
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/hyperwave
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/hyperwave')
-rw-r--r--ext/hyperwave/hw.c3
-rw-r--r--ext/hyperwave/php_hyperwave.h4
2 files changed, 4 insertions, 3 deletions
diff --git a/ext/hyperwave/hw.c b/ext/hyperwave/hw.c
index 42e30a7ea7..16903522af 100644
--- a/ext/hyperwave/hw.c
+++ b/ext/hyperwave/hw.c
@@ -211,7 +211,8 @@ PHP_INI_BEGIN()
PHP_INI_ENTRY("hyperwave.default_port", "418", PHP_INI_ALL, OnHyperwavePort)
PHP_INI_END()
-PHP_MINIT_FUNCTION(hw) {
+PHP_MINIT_FUNCTION(hw)
+{
ZEND_INIT_MODULE_GLOBALS(hw, php_hw_init_globals, NULL);
REGISTER_INI_ENTRIES();
diff --git a/ext/hyperwave/php_hyperwave.h b/ext/hyperwave/php_hyperwave.h
index 1ae69f4b55..c56f3c22d1 100644
--- a/ext/hyperwave/php_hyperwave.h
+++ b/ext/hyperwave/php_hyperwave.h
@@ -65,8 +65,8 @@ typedef struct {
char *bodytag;
} hw_document;
-extern PHP_MINIT_FUNCTION(hw);
-extern PHP_MSHUTDOWN_FUNCTION(hw);
+PHP_MINIT_FUNCTION(hw);
+PHP_MSHUTDOWN_FUNCTION(hw);
PHP_MINFO_FUNCTION(hw);
PHP_FUNCTION(hw_connect);