diff options
author | Magnus Hagander | 2007-04-18 08:32:40 +0000 |
---|---|---|
committer | Magnus Hagander | 2007-04-18 08:32:40 +0000 |
commit | 5574c9f3a5d4ec8432cee5a10949b82929308eed (patch) | |
tree | 7978985dc1af1d7d413856bafbc3b5acf45b424c | |
parent | c2284489106f6d2d0a9a2d2b84fe0baadab97ed4 (diff) |
Silence mingw compiler warning
-rw-r--r-- | src/interfaces/libpq/pthread-win32.c | 4 | ||||
-rw-r--r-- | src/port/pthread-win32.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/interfaces/libpq/pthread-win32.c b/src/interfaces/libpq/pthread-win32.c index faab4efae3e..4aa770b80be 100644 --- a/src/interfaces/libpq/pthread-win32.c +++ b/src/interfaces/libpq/pthread-win32.c @@ -5,7 +5,7 @@ * * Copyright (c) 2004-2007, PostgreSQL Global Development Group * IDENTIFICATION -* $PostgreSQL: pgsql/src/interfaces/libpq/pthread-win32.c,v 1.13 2007/01/05 22:20:01 momjian Exp $ +* $PostgreSQL: pgsql/src/interfaces/libpq/pthread-win32.c,v 1.14 2007/04/18 08:32:40 mha Exp $ * *------------------------------------------------------------------------- */ @@ -16,7 +16,7 @@ #include "pthread-win32.h" DWORD -pthread_self() +pthread_self(void) { return GetCurrentThreadId(); } diff --git a/src/port/pthread-win32.h b/src/port/pthread-win32.h index dfcdd328ec0..2e009af1ee9 100644 --- a/src/port/pthread-win32.h +++ b/src/port/pthread-win32.h @@ -5,7 +5,7 @@ typedef ULONG pthread_key_t; typedef HANDLE pthread_mutex_t; typedef int pthread_once_t; -DWORD pthread_self(); +DWORD pthread_self(void); void pthread_setspecific(pthread_key_t, void *); void *pthread_getspecific(pthread_key_t); |