Skip to content

Commit 48f3ddf

Browse files
committed
Fix ecpg_sqlca_key_destructor to return void.
1 parent b76c536 commit 48f3ddf

File tree

1 file changed

+2
-2
lines changed
  • src/interfaces/ecpg/ecpglib

1 file changed

+2
-2
lines changed

src/interfaces/ecpg/ecpglib/misc.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/misc.c,v 1.19 2004/03/14 12:16:30 meskes Exp $ */
1+
/* $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/misc.c,v 1.20 2004/03/14 14:47:33 momjian Exp $ */
22

33
#define POSTGRES_ECPG_INTERNAL
44
#include "postgres_fe.h"
@@ -118,7 +118,7 @@ ECPGinit(const struct connection * con, const char *connection_name, const int l
118118
}
119119

120120
#ifdef ENABLE_THREAD_SAFETY
121-
static void *ecpg_sqlca_key_destructor(void *arg)
121+
static void ecpg_sqlca_key_destructor(void *arg)
122122
{
123123
if( arg != NULL )
124124
free(arg); /* sqlca structure allocated in ECPGget_sqlca */

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy