Skip to content
Snippets Groups Projects
Commit c2b26362 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Removed volatile.

Rev: src/modules/Odbc/odbc.c:1.6
Rev: src/modules/Odbc/odbc_result.c:1.7
Rev: src/modules/Odbc/precompiled_odbc.h:1.3
parent 65d4ed4f
Branches
Tags
No related merge requests found
/*
* $Id: odbc.c,v 1.5 1997/11/02 18:42:12 grubba Exp $
* $Id: odbc.c,v 1.6 1997/11/02 22:19:49 grubba Exp $
*
* Pike interface to ODBC compliant databases.
*
......@@ -15,7 +15,7 @@
#endif /* HAVE_CONFIG_H */
#include "global.h"
RCSID("$Id: odbc.c,v 1.5 1997/11/02 18:42:12 grubba Exp $");
RCSID("$Id: odbc.c,v 1.6 1997/11/02 22:19:49 grubba Exp $");
#include "interpret.h"
#include "object.h"
......@@ -46,11 +46,11 @@ struct program *odbc_program = NULL;
* Helper functions
*/
volatile void odbc_error(const char *fun, const char *msg,
void odbc_error(const char *fun, const char *msg,
struct precompiled_odbc *odbc, HSTMT hstmt,
RETCODE code, void (*clean)(void));
static INLINE volatile void odbc_check_error(const char *fun, const char *msg,
static INLINE void odbc_check_error(const char *fun, const char *msg,
RETCODE code, void (*clean)(void))
{
if ((code != SQL_SUCCESS) && (code != SQL_SUCCESS_WITH_INFO)) {
......@@ -58,7 +58,7 @@ static INLINE volatile void odbc_check_error(const char *fun, const char *msg,
}
}
volatile void odbc_error(const char *fun, const char *msg,
void odbc_error(const char *fun, const char *msg,
struct precompiled_odbc *odbc, HSTMT hstmt,
RETCODE code, void (*clean)(void))
{
......
/*
* $Id: odbc_result.c,v 1.6 1997/11/02 18:41:59 grubba Exp $
* $Id: odbc_result.c,v 1.7 1997/11/02 22:20:51 grubba Exp $
*
* Pike interface to ODBC compliant databases
*
......@@ -17,7 +17,7 @@
#ifdef HAVE_ODBC
#include "global.h"
RCSID("$Id: odbc_result.c,v 1.6 1997/11/02 18:41:59 grubba Exp $");
RCSID("$Id: odbc_result.c,v 1.7 1997/11/02 22:20:51 grubba Exp $");
#include "interpret.h"
#include "object.h"
......@@ -67,7 +67,7 @@ static void clean_sql_res(void)
PIKE_ODBC_RES->hstmt = SQL_NULL_HSTMT;
}
static INLINE volatile void odbc_check_error(const char *fun, const char *msg,
static INLINE void odbc_check_error(const char *fun, const char *msg,
RETCODE code, void (*clean)(void))
{
if ((code != SQL_SUCCESS) && (code != SQL_SUCCESS_WITH_INFO)) {
......
/*
* $Id: precompiled_odbc.h,v 1.2 1997/06/10 03:21:43 grubba Exp $
* $Id: precompiled_odbc.h,v 1.3 1997/11/02 22:19:35 grubba Exp $
*
* Pike interface to ODBC compliant databases.
*
......@@ -72,7 +72,7 @@ struct precompiled_odbc_result {
/*
* Prototypes
*/
volatile void odbc_error(const char *fun, const char *msg,
void odbc_error(const char *fun, const char *msg,
struct precompiled_odbc *odbc, HSTMT hstmt,
RETCODE code, void (*clean)(void));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment