Fix MacOSX/clang
[m6w6/ext-pq] / src / php_pqcopy.h
index 03bdd5b..130a1f2 100644 (file)
@@ -41,11 +41,11 @@ typedef struct php_pqcopy_object {
        php_pqcopy_t *intern;
 } php_pqcopy_object_t;
 
-zend_class_entry *php_pqcopy_class_entry;
-zend_object_value php_pqcopy_create_object_ex(zend_class_entry *ce, php_pqcopy_t *intern, php_pqcopy_object_t **ptr TSRMLS_DC);
+extern zend_class_entry *php_pqcopy_class_entry;
+extern zend_object_value php_pqcopy_create_object_ex(zend_class_entry *ce, php_pqcopy_t *intern, php_pqcopy_object_t **ptr TSRMLS_DC);
 
-PHP_MINIT_FUNCTION(pqcopy);
-PHP_MSHUTDOWN_FUNCTION(pqcopy);
+extern PHP_MINIT_FUNCTION(pqcopy);
+extern PHP_MSHUTDOWN_FUNCTION(pqcopy);
 
 #endif