Commit 5574c9f3 authored by Magnus Hagander's avatar Magnus Hagander

Silence mingw compiler warning

parent c2284489
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
* *
* Copyright (c) 2004-2007, PostgreSQL Global Development Group * Copyright (c) 2004-2007, PostgreSQL Global Development Group
* IDENTIFICATION * 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 @@ ...@@ -16,7 +16,7 @@
#include "pthread-win32.h" #include "pthread-win32.h"
DWORD DWORD
pthread_self() pthread_self(void)
{ {
return GetCurrentThreadId(); return GetCurrentThreadId();
} }
......
...@@ -5,7 +5,7 @@ typedef ULONG pthread_key_t; ...@@ -5,7 +5,7 @@ typedef ULONG pthread_key_t;
typedef HANDLE pthread_mutex_t; typedef HANDLE pthread_mutex_t;
typedef int pthread_once_t; typedef int pthread_once_t;
DWORD pthread_self(); DWORD pthread_self(void);
void pthread_setspecific(pthread_key_t, void *); void pthread_setspecific(pthread_key_t, void *);
void *pthread_getspecific(pthread_key_t); void *pthread_getspecific(pthread_key_t);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment