From 311fe215aab6db7a03b80c5aafcf87904806808f Mon Sep 17 00:00:00 2001 From: Hartmut Holzgraefe Date: Mon, 17 Sep 2001 13:02:26 +0000 Subject: fixed a warning regarding incompatible function pointer types --- ext/oracle/oracle.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'ext/oracle/oracle.c') diff --git a/ext/oracle/oracle.c b/ext/oracle/oracle.c index 795a0d909d..5db6739143 100644 --- a/ext/oracle/oracle.c +++ b/ext/oracle/oracle.c @@ -71,7 +71,7 @@ PHP_ORA_API php_ora_globals ora_globals; static oraCursor *ora_get_cursor(HashTable *, pval ** TSRMLS_DC); static char *ora_error(Cda_Def *); static int ora_describe_define(oraCursor *); -static int _close_oraconn(zend_rsrc_list_entry *rsrc TSRMLS_DC); +static void _close_oraconn(zend_rsrc_list_entry *rsrc TSRMLS_DC); static int _close_oracur(oraCursor *cur TSRMLS_DC); static int _ora_ping(oraConnection *conn); int ora_set_param_values(oraCursor *cursor, int isout TSRMLS_DC); @@ -201,7 +201,7 @@ ZEND_GET_MODULE(oracle) /* {{{ _close_oraconn */ -static int _close_oraconn(zend_rsrc_list_entry *rsrc TSRMLS_DC) +static void _close_oraconn(zend_rsrc_list_entry *rsrc TSRMLS_DC) { oraConnection *conn = (oraConnection *)rsrc->ptr; @@ -218,8 +218,6 @@ static int _close_oraconn(zend_rsrc_list_entry *rsrc TSRMLS_DC) } else { efree(conn); } - - return 1; } /* }}} */ -- cgit v1.2.1