Commit 48f3ddf9 authored by Bruce Momjian's avatar Bruce Momjian

Fix ecpg_sqlca_key_destructor to return void.

parent b76c536e
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/misc.c,v 1.19 2004/03/14 12:16:30 meskes Exp $ */ /* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/misc.c,v 1.20 2004/03/14 14:47:33 momjian Exp $ */
#define POSTGRES_ECPG_INTERNAL #define POSTGRES_ECPG_INTERNAL
#include "postgres_fe.h" #include "postgres_fe.h"
...@@ -118,7 +118,7 @@ ECPGinit(const struct connection * con, const char *connection_name, const int l ...@@ -118,7 +118,7 @@ ECPGinit(const struct connection * con, const char *connection_name, const int l
} }
#ifdef ENABLE_THREAD_SAFETY #ifdef ENABLE_THREAD_SAFETY
static void *ecpg_sqlca_key_destructor(void *arg) static void ecpg_sqlca_key_destructor(void *arg)
{ {
if( arg != NULL ) if( arg != NULL )
free(arg); /* sqlca structure allocated in ECPGget_sqlca */ free(arg); /* sqlca structure allocated in ECPGget_sqlca */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment