Fix MacOSX/clang
[m6w6/ext-pq] / src / php_pqcur.h
index cc142e805eaa85de461328b8f4cc759cc04d0cf3..be44607776cf86db0e4405e67e90551ad6d6545f 100644 (file)
@@ -36,13 +36,13 @@ typedef struct php_pqcur_object {
        php_pqcur_t *intern;
 } php_pqcur_object_t;
 
-zend_class_entry *php_pqcur_class_entry;
-zend_object_value php_pqcur_create_object_ex(zend_class_entry *ce, php_pqcur_t *intern, php_pqcur_object_t **ptr TSRMLS_DC);
+extern zend_class_entry *php_pqcur_class_entry;
+extern zend_object_value php_pqcur_create_object_ex(zend_class_entry *ce, php_pqcur_t *intern, php_pqcur_object_t **ptr TSRMLS_DC);
 
-char *php_pqcur_declare_str(const char *name_str, size_t name_len, unsigned flags, const char *query_str, size_t query_len);
+extern char *php_pqcur_declare_str(const char *name_str, size_t name_len, unsigned flags, const char *query_str, size_t query_len);
 
-PHP_MINIT_FUNCTION(pqcur);
-PHP_MSHUTDOWN_FUNCTION(pqcur);
+extern PHP_MINIT_FUNCTION(pqcur);
+extern PHP_MSHUTDOWN_FUNCTION(pqcur);
 
 #endif