Skip to content

Commit

Permalink
fixed a warning regarding incompatible function pointer types
Browse files Browse the repository at this point in the history
  • Loading branch information
Hartmut Holzgraefe committed Sep 17, 2001
1 parent 3a386f8 commit 311fe21
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions ext/oracle/oracle.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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;

Expand All @@ -218,8 +218,6 @@ static int _close_oraconn(zend_rsrc_list_entry *rsrc TSRMLS_DC)
} else {
efree(conn);
}

return 1;
}
/* }}} */

Expand Down

0 comments on commit 311fe21

Please sign in to comment.