[PHP-DEV] cvs: /php3/functions pcre.c php3_pcre.h From: Martin Kraemer (Martin.Kraemer <email protected>)
Date: 08/31/99

martin Tue Aug 31 05:54:38 1999 EDT

  Modified files:
    /php3/functions pcre.c php3_pcre.h
  Log:
  Avoid duplicate symbols on some platforms
  
Index: php3/functions/pcre.c
diff -u php3/functions/pcre.c:1.18 php3/functions/pcre.c:1.19
--- php3/functions/pcre.c:1.18 Thu Aug 26 10:11:40 1999
+++ php3/functions/pcre.c Tue Aug 31 05:54:37 1999
@@ -27,7 +27,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: pcre.c,v 1.18 1999/08/26 14:11:40 rasmus Exp $ */
+/* $Id: pcre.c,v 1.19 1999/08/31 09:54:37 martin Exp $ */
 
 #include "php.h"
 
@@ -37,6 +37,8 @@
 
 #define PREG_PATTERN_ORDER 0
 #define PREG_SET_ORDER 1
+
+HashTable pcre_cache;
 
 /* {{{ module definition structures */
 
Index: php3/functions/php3_pcre.h
diff -u php3/functions/php3_pcre.h:1.5 php3/functions/php3_pcre.h:1.6
--- php3/functions/php3_pcre.h:1.5 Tue Jul 20 17:08:05 1999
+++ php3/functions/php3_pcre.h Tue Aug 31 05:54:37 1999
@@ -27,7 +27,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: php3_pcre.h,v 1.5 1999/07/20 21:08:05 andrey Exp $ */
+/* $Id: php3_pcre.h,v 1.6 1999/08/31 09:54:37 martin Exp $ */
 
 #ifndef _PHP_PCRE_H
 #define _PHP_PCRE_H
@@ -65,7 +65,7 @@
 #endif
 } pcre_cache_entry;
 
-HashTable pcre_cache;
+extern HashTable pcre_cache;
 
 #else
 

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>