diff options
author | Michael Meskes <meskes@postgresql.org> | 2007-09-30 11:38:48 +0000 |
---|---|---|
committer | Michael Meskes <meskes@postgresql.org> | 2007-09-30 11:38:48 +0000 |
commit | 60e83cec5792549323f41281f2a3608f71fc8f35 (patch) | |
tree | bb1d826ec95a33710dcc13baa0126ecaaa63d66f /src/interfaces/ecpg/test/thread/prep.pgc | |
parent | ae57efed4a1a26bcbb8b1d8cd08fd0e58c69b7fb (diff) |
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/thread/prep.pgc')
-rw-r--r-- | src/interfaces/ecpg/test/thread/prep.pgc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/ecpg/test/thread/prep.pgc b/src/interfaces/ecpg/test/thread/prep.pgc index 1213975b163..314e24eecd2 100644 --- a/src/interfaces/ecpg/test/thread/prep.pgc +++ b/src/interfaces/ecpg/test/thread/prep.pgc @@ -5,7 +5,7 @@ int main(void) { - printf("No threading enabled.\n"); + printf("No threading enabled.\n"); return 0; } #else @@ -30,7 +30,7 @@ exec sql whenever not found sqlprint; #ifdef WIN32 static unsigned STDCALL fn(void* arg) #else -void* fn(void* arg) +static void* fn(void* arg) #endif { int i; |