diff options
author | Magnus Hagander | 2007-04-18 08:32:40 +0000 |
---|---|---|
committer | Magnus Hagander | 2007-04-18 08:32:40 +0000 |
commit | 518ff372fc68284d94298115e0c10a37836c9066 (patch) | |
tree | 4da3cfaa853b5745f5bd504dcb22a2943afa3671 | |
parent | 195429f2ba207acf362c2d7e8f1b7cd8d8581a84 (diff) |
Silence mingw compiler warning
-rw-r--r-- | src/interfaces/libpq/pthread-win32.c | 2 | ||||
-rw-r--r-- | src/port/pthread-win32.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/libpq/pthread-win32.c b/src/interfaces/libpq/pthread-win32.c index 2fa44c1dc0..38c6e34ec6 100644 --- a/src/interfaces/libpq/pthread-win32.c +++ b/src/interfaces/libpq/pthread-win32.c @@ -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 dfcdd328ec..2e009af1ee 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); |