From e50b33c2402d53fc7b1ead9444e09d420d0c7b7c Mon Sep 17 00:00:00 2001 From: Andreas Karajannis Date: Sun, 28 May 2000 12:48:12 +0000 Subject: Cosmetic changes. --- ext/odbc/php_odbc.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'ext/odbc/php_odbc.h') diff --git a/ext/odbc/php_odbc.h b/ext/odbc/php_odbc.h index 6308b4ce95..199edc4974 100644 --- a/ext/odbc/php_odbc.h +++ b/ext/odbc/php_odbc.h @@ -269,14 +269,15 @@ void odbc_del_result(HashTable *list, int count); int odbc_add_conn(HashTable *list, HDBC conn); odbc_connection *odbc_get_conn(HashTable *list, int count); void odbc_del_conn(HashTable *list, int ind); +int odbc_bindcols(odbc_result *result); -#define ODBC_SQL_ERROR odbc_sql_error #if defined( HAVE_IBMDB2 ) || defined( HAVE_UNIXODBC ) -void odbc_sql_error(SQLHANDLE henv, SQLHANDLE conn, SQLHANDLE stmt, char *func); +#define ODBC_SQL_ERROR_PARAMS SQLHANDLE henv, SQLHANDLE conn, SQLHANDLE stmt, char *func #else -void odbc_sql_error(HENV henv, HDBC conn, HSTMT stmt, char *func); +#define ODBC_SQL_ERROR_PARAMS HENV henv, HDBC conn, HSTMT stmt, char *func #endif -int odbc_bindcols(odbc_result *result); + +void odbc_sql_error(ODBC_SQL_ERROR_PARAMS); #define IS_SQL_LONG(x) (x == SQL_LONGVARBINARY || x == SQL_LONGVARCHAR) #define IS_SQL_BINARY(x) (x == SQL_BINARY || x == SQL_VARBINARY || x == SQL_LONGVARBINARY) -- cgit v1.2.1