Fix MacOSX/clang
[m6w6/ext-pq] / src / php_pqexc.h
index 0c522aed78854e5abcdfc7200bada94256bddf6b..c5847daaf11f84ac7d4b8d1408d9fed96481c0dd 100644 (file)
@@ -26,10 +26,10 @@ typedef enum php_pqexc_type {
        EX_SQL
 } php_pqexc_type_t;
 
-zend_class_entry *exce(php_pqexc_type_t type);
-zval *throw_exce(php_pqexc_type_t type TSRMLS_DC, const char *fmt, ...);
+extern zend_class_entry *exce(php_pqexc_type_t type);
+extern zval *throw_exce(php_pqexc_type_t type TSRMLS_DC, const char *fmt, ...);
 
-PHP_MINIT_FUNCTION(pqexc);
+extern PHP_MINIT_FUNCTION(pqexc);
 
 #endif