summaryrefslogtreecommitdiff
path: root/ext/mssql
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mssql')
-rw-r--r--ext/mssql/php_mssql.c2
-rw-r--r--ext/mssql/php_mssql.h8
2 files changed, 5 insertions, 5 deletions
diff --git a/ext/mssql/php_mssql.c b/ext/mssql/php_mssql.c
index 4a304d606f..608c69ab1e 100644
--- a/ext/mssql/php_mssql.c
+++ b/ext/mssql/php_mssql.c
@@ -232,7 +232,7 @@ static void _close_mssql_link(zend_rsrc_list_entry *rsrc)
TSRMLS_FETCH();
mssql_ptr->valid = 0;
- zend_hash_apply(&EG(regular_list),(int (*)(void *))_clean_invalid_results);
+ zend_hash_apply(&EG(regular_list),(apply_func_t) _clean_invalid_results);
dbclose(mssql_ptr->link);
dbfreelogin(mssql_ptr->login);
efree(mssql_ptr);
diff --git a/ext/mssql/php_mssql.h b/ext/mssql/php_mssql.h
index 85572c4099..2d7d90d915 100644
--- a/ext/mssql/php_mssql.h
+++ b/ext/mssql/php_mssql.h
@@ -50,10 +50,10 @@
extern zend_module_entry mssql_module_entry;
#define mssql_module_ptr &mssql_module_entry
-extern PHP_MINIT_FUNCTION(mssql);
-extern PHP_MSHUTDOWN_FUNCTION(mssql);
-extern PHP_RINIT_FUNCTION(mssql);
-extern PHP_RSHUTDOWN_FUNCTION(mssql);
+PHP_MINIT_FUNCTION(mssql);
+PHP_MSHUTDOWN_FUNCTION(mssql);
+PHP_RINIT_FUNCTION(mssql);
+PHP_RSHUTDOWN_FUNCTION(mssql);
PHP_MINFO_FUNCTION(mssql);
PHP_FUNCTION(mssql_connect);