cvs: php4 /ext/oracle oracle.c
| From: | Hartmut Holzgraefe | Date: | Mon, 17 Sep 2001 13:02:24 +0000 |
| Subject: | cvs: php4 /ext/oracle oracle.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-7438@lists.php.net to get a copy of this message | ||
hholzgra Mon Sep 17 09:02:24 2001 EDT
Modified files:
/php4/ext/oracle oracle.c
Log:
fixed a warning regarding incompatible function pointer types
Index: php4/ext/oracle/oracle.c
diff -u php4/ext/oracle/oracle.c:1.72 php4/ext/oracle/oracle.c:1.73
--- php4/ext/oracle/oracle.c:1.72 Sun Sep 9 09:29:00 2001
+++ php4/ext/oracle/oracle.c Mon Sep 17 09:02:24 2001
@@ -20,7 +20,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: oracle.c,v 1.72 2001/09/09 13:29:00 derick Exp $ */
+/* $Id: oracle.c,v 1.73 2001/09/17 13:02:24 hholzgra Exp $ */
/* comment out the next line if you're on Oracle 7.x and don't have the olog
call. */
@@ -71,7 +71,7 @@
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 @@
/* {{{ _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 @@
} else {
efree(conn);
}
-
- return 1;
}
/* }}} */