aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/ecpg/test/expected/thread-prep.c
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>2007-09-30 11:38:48 +0000
committerMichael Meskes <meskes@postgresql.org>2007-09-30 11:38:48 +0000
commit60e83cec5792549323f41281f2a3608f71fc8f35 (patch)
treebb1d826ec95a33710dcc13baa0126ecaaa63d66f /src/interfaces/ecpg/test/expected/thread-prep.c
parentae57efed4a1a26bcbb8b1d8cd08fd0e58c69b7fb (diff)
downloadpostgresql-60e83cec5792549323f41281f2a3608f71fc8f35.tar.gz
postgresql-60e83cec5792549323f41281f2a3608f71fc8f35.zip
Applied another patch by ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>
to get memory allocation thread-safe. He also did some cleaning up.
Diffstat (limited to 'src/interfaces/ecpg/test/expected/thread-prep.c')
-rw-r--r--src/interfaces/ecpg/test/expected/thread-prep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/ecpg/test/expected/thread-prep.c b/src/interfaces/ecpg/test/expected/thread-prep.c
index cc3129b6c9c..22b63f16fce 100644
--- a/src/interfaces/ecpg/test/expected/thread-prep.c
+++ b/src/interfaces/ecpg/test/expected/thread-prep.c
@@ -15,7 +15,7 @@
int
main(void)
{
- printf("No threading enabled.\n");
+ printf("No threading enabled.\n");
return 0;
}
#else
@@ -123,7 +123,7 @@ struct sqlca_t *ECPGget_sqlca(void);
#ifdef WIN32
static unsigned STDCALL fn(void* arg)
#else
-void* fn(void* arg)
+static void* fn(void* arg)
#endif
{
int i;