From: Hartmut Holzgraefe Date: Mon, 17 Sep 2001 13:02:26 +0000 (+0000) Subject: fixed a warning regarding incompatible function pointer types X-Git-Tag: PRE_SUBST_Z_MACROS~83 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=311fe215aab6db7a03b80c5aafcf87904806808f;p=php fixed a warning regarding incompatible function pointer types --- 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; } /* }}} */