Fix MacOSX/clang
[m6w6/ext-pq] / src / php_pqtypes.h
index 0686e5d..8a551b1 100644 (file)
@@ -28,11 +28,11 @@ typedef struct php_pqtypes_object {
        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