]> granicus.if.org Git - postgresql/commitdiff
Silence mingw compiler warning
authorMagnus Hagander <magnus@hagander.net>
Wed, 18 Apr 2007 08:32:40 +0000 (08:32 +0000)
committerMagnus Hagander <magnus@hagander.net>
Wed, 18 Apr 2007 08:32:40 +0000 (08:32 +0000)
src/interfaces/libpq/pthread-win32.c
src/port/pthread-win32.h

index faab4efae3e1ef7ef5980e61eec1ff6aa4931f6c..4aa770b80beae9322599d7bc4ffbf461404cb104 100644 (file)
@@ -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();
 }
index dfcdd328ec0ddc4c13b57a567ab3a07443479f56..2e009af1ee97357e6e617ff11fb87a68c5d79638 100644 (file)
@@ -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);