X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cd5bf2a6e3a7d03e8b1f97e989eecdcc63f7151f..eb254be6df56f99bd2691e4ca38d59004d2f39f5:/src/iodbc/connect.c?ds=sidebyside diff --git a/src/iodbc/connect.c b/src/iodbc/connect.c index be9e0f6041..b444f77c5e 100644 --- a/src/iodbc/connect.c +++ b/src/iodbc/connect.c @@ -24,19 +24,19 @@ * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -#include +#include "config.h" -#include -#include +#include "isql.h" +#include "isqlext.h" -#include +#include "dlproc.h" -#include -#include -#include -#include +#include "herr.h" +#include "henv.h" +#include "hdbc.h" +#include "hstmt.h" -#include +#include "itrace.h" extern char* _iodbcdm_getkeyvalbydsn(); extern char* _iodbcdm_getkeyvalinstr(); @@ -308,7 +308,6 @@ _iodbcdm_driverunload (HDBC hdbc) GENV_t FAR *genv; HPROC hproc; RETCODE retcode = SQL_SUCCESS; - int sqlstat = en_00000; if (hdbc == SQL_NULL_HDBC) { @@ -964,17 +963,13 @@ SQLBrowseConnect ( SWORD FAR * pcbConnStrOut) { DBC_t FAR *pdbc = (DBC_t FAR *) hdbc; - HDLL hdll; char FAR *drv; char drvbuf[1024]; char FAR *dsn; char dsnbuf[SQL_MAX_DSN_LENGTH + 1]; - UCHAR cnstr2drv[1024]; HPROC hproc; - HPROC dialproc; - int sqlstat = en_00000; RETCODE retcode = SQL_SUCCESS; RETCODE setopterr = SQL_SUCCESS;