Merge pull request #33 from m6w6/fix-19
[m6w6/ext-pq] / src / php_pqexc.h
index 0c522aed78854e5abcdfc7200bada94256bddf6b..2666dcf6a82991a0774e731686827f728c032f0c 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 zend_object *throw_exce(php_pqexc_type_t type, const char *fmt, ...);
 
-PHP_MINIT_FUNCTION(pqexc);
+extern PHP_MINIT_FUNCTION(pqexc);
 
 #endif