From: Sascha Schumann Date: Wed, 4 Oct 2000 23:11:07 +0000 (+0000) Subject: Use ZEND_DECLARE_MODULE_GLOBALS instead of equivalent #if ZTS/#else/#endif X-Git-Tag: php-4.0.3~63 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=47dfaf232fe71e36edbc603bd659b03afbfc0965;p=php Use ZEND_DECLARE_MODULE_GLOBALS instead of equivalent #if ZTS/#else/#endif construct. --- diff --git a/ext/skeleton/skeleton.c b/ext/skeleton/skeleton.c index 552224308a..b40b8424db 100644 --- a/ext/skeleton/skeleton.c +++ b/ext/skeleton/skeleton.c @@ -9,11 +9,7 @@ */ #if HAVE_EXTNAME -#ifdef ZTS -int extname_globals_id; -#else -php_extname_globals extname_globals; -#endif +ZEND_DECLARE_MODULE_GLOBALS(extname) /* Every user visible function must have an entry in extname_functions[]. */