From 434d068994922902a4a30b1735d1deabf6e51dd0 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Wed, 19 Jan 2005 01:17:13 +0000 Subject: [PATCH] *compile before commit * *compile before commit * *compile before commit * --- ext/pdo_odbc/odbc_stmt.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ext/pdo_odbc/odbc_stmt.c b/ext/pdo_odbc/odbc_stmt.c index 5c66a793cb..f205e315ee 100755 --- a/ext/pdo_odbc/odbc_stmt.c +++ b/ext/pdo_odbc/odbc_stmt.c @@ -30,7 +30,7 @@ #include "php_pdo_odbc.h" #include "php_pdo_odbc_int.h" -static int free_cols(pdo_odbc_stmt *S TSRMLS_DC) +static void free_cols(pdo_stmt_t *stmt, pdo_odbc_stmt *S TSRMLS_DC) { int i; @@ -58,7 +58,7 @@ static int odbc_stmt_dtor(pdo_stmt_t *stmt TSRMLS_DC) S->stmt = SQL_NULL_HANDLE; } - free_cols(S TSRMLS_CC); + free_cols(stmt, S TSRMLS_CC); efree(S); @@ -266,7 +266,7 @@ static int odbc_stmt_next_rowset(pdo_stmt_t *stmt TSRMLS_DC) SQLSMALLINT colcount; pdo_odbc_stmt *S = (pdo_odbc_stmt*)stmt->driver_data; - free_cols(S TSRMLS_CC); + free_cols(stmt, S TSRMLS_CC); rc = SQLMoreResults(S->stmt); -- 2.40.0