Fix MacOSX/clang
[m6w6/ext-pq] / src / php_pqtypes.h
index 0686e5d2202a1fed0269314963bb8730dd7d6b1f..8a551b104b151c9bcc601d054e708fbc8f8e563f 100644 (file)
@@ -28,11 +28,11 @@ typedef struct php_pqtypes_object {
        php_pqtypes_t *intern;
 } php_pqtypes_object_t;
 
        php_pqtypes_t *intern;
 } php_pqtypes_object_t;
 
-zend_class_entry *php_pqtypes_class_entry;
-zend_object_value php_pqtypes_create_object_ex(zend_class_entry *ce, php_pqtypes_t *intern, php_pqtypes_object_t **ptr TSRMLS_DC);
+extern zend_class_entry *php_pqtypes_class_entry;
+extern zend_object_value php_pqtypes_create_object_ex(zend_class_entry *ce, php_pqtypes_t *intern, php_pqtypes_object_t **ptr TSRMLS_DC);
 
 
-PHP_MINIT_FUNCTION(pqtypes);
-PHP_MSHUTDOWN_FUNCTION(pqtypes);
+extern PHP_MINIT_FUNCTION(pqtypes);
+extern PHP_MSHUTDOWN_FUNCTION(pqtypes);
 
 #endif
 
 
 #endif