cvs: php4 /ext/mbstring mbstring.h php_mbregex.c
| From: | Sascha Schumann | Date: | Fri, 26 Apr 2002 10:13:45 +0000 |
| Subject: | cvs: php4 /ext/mbstring mbstring.h php_mbregex.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-11447@lists.php.net to get a copy of this message | ||
sas Fri Apr 26 06:13:45 2002 EDT
Modified files:
/php4/ext/mbstring mbstring.h php_mbregex.c
Log:
Improve use of module_globals macros
Index: php4/ext/mbstring/mbstring.h
diff -u php4/ext/mbstring/mbstring.h:1.19 php4/ext/mbstring/mbstring.h:1.20
--- php4/ext/mbstring/mbstring.h:1.19 Mon Apr 15 19:03:48 2002
+++ php4/ext/mbstring/mbstring.h Fri Apr 26 06:13:45 2002
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: mbstring.h,v 1.19 2002/04/15 23:03:48 fmk Exp $ */
+/* $Id: mbstring.h,v 1.20 2002/04/26 10:13:45 sas Exp $ */
/*
* PHP4 Multibyte String module "mbstring" (currently only for Japanese)
@@ -158,7 +158,7 @@
mb_regex_t *search_re;
struct mbre_registers *search_regs;
#endif
-ZEND_END_MODULE_GLOBALS(mbstring);
+ZEND_END_MODULE_GLOBALS(mbstring)
#define MB_OVERLOAD_MAIL 1
#define MB_OVERLOAD_STRING 2
Index: php4/ext/mbstring/php_mbregex.c
diff -u php4/ext/mbstring/php_mbregex.c:1.3 php4/ext/mbstring/php_mbregex.c:1.4
--- php4/ext/mbstring/php_mbregex.c:1.3 Sat Mar 23 02:33:13 2002
+++ php4/ext/mbstring/php_mbregex.c Fri Apr 26 06:13:45 2002
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_mbregex.c,v 1.3 2002/03/23 07:33:13 hirokawa Exp $ */
+/* $Id: php_mbregex.c,v 1.4 2002/04/26 10:13:45 sas Exp $ */
#ifdef HAVE_CONFIG_H
@@ -30,7 +30,7 @@
#if HAVE_MBREGEX
-extern ZEND_DECLARE_MODULE_GLOBALS(mbstring)
+ZEND_EXTERN_MODULE_GLOBALS(mbstring)
/*
* string buffer