diff options
author | Hartmut Holzgraefe <hholzgra@php.net> | 2001-09-17 13:02:26 +0000 |
---|---|---|
committer | Hartmut Holzgraefe <hholzgra@php.net> | 2001-09-17 13:02:26 +0000 |
commit | 311fe215aab6db7a03b80c5aafcf87904806808f (patch) | |
tree | 2965731068335120db80808f1e63f77af2f9ece4 /ext/oracle | |
parent | 3a386f8684f9845511421f98b5ea1d1932d61b4b (diff) | |
download | php-git-311fe215aab6db7a03b80c5aafcf87904806808f.tar.gz |
fixed a warning regarding incompatible function pointer types
Diffstat (limited to 'ext/oracle')
-rw-r--r-- | ext/oracle/oracle.c | 6 |
1 files changed, 2 insertions, 4 deletions
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; } /* }}} */ |