]> granicus.if.org Git - php/commitdiff
fix build (declare extern HashTable pdo_driver_hash)
authorAntony Dovgal <tony2001@php.net>
Sun, 18 Sep 2005 18:05:59 +0000 (18:05 +0000)
committerAntony Dovgal <tony2001@php.net>
Sun, 18 Sep 2005 18:05:59 +0000 (18:05 +0000)
ext/pdo/pdo.c
ext/pdo/php_pdo_int.h

index 6cbc92175ef40a310c28bfb230efa23dd7b9d069..a58f3fd47e2466ea31baa56462758bdba76f7638 100755 (executable)
@@ -42,7 +42,7 @@ ZEND_DECLARE_MODULE_GLOBALS(pdo)
 /* True global resources - no need for thread safety here */
 
 /* the registry of PDO drivers */
-static HashTable pdo_driver_hash;
+HashTable pdo_driver_hash;
 
 /* we use persistent resources for the driver connection stuff */
 static int le_ppdo;
index 82ccf3826fe3747ad3242e32f5033f856ab4aaa0..f202df16fe78825e6948c20b778b2789356bea38 100755 (executable)
@@ -22,6 +22,8 @@
 
 /* Stuff private to the PDO extension and not for consumption by PDO drivers
  * */
+
+extern HashTable pdo_driver_hash;
 extern zend_class_entry *pdo_exception_ce;
 int php_pdo_list_entry(void);