Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 5574c9f

Browse files
committed
Silence mingw compiler warning
1 parent c228448 commit 5574c9f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/interfaces/libpq/pthread-win32.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Copyright (c) 2004-2007, PostgreSQL Global Development Group
77
* IDENTIFICATION
8-
* $PostgreSQL: pgsql/src/interfaces/libpq/pthread-win32.c,v 1.13 2007/01/05 22:20:01 momjian Exp $
8+
* $PostgreSQL: pgsql/src/interfaces/libpq/pthread-win32.c,v 1.14 2007/04/18 08:32:40 mha Exp $
99
*
1010
*-------------------------------------------------------------------------
1111
*/
@@ -16,7 +16,7 @@
1616
#include "pthread-win32.h"
1717

1818
DWORD
19-
pthread_self()
19+
pthread_self(void)
2020
{
2121
return GetCurrentThreadId();
2222
}

src/port/pthread-win32.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ typedef ULONG pthread_key_t;
55
typedef HANDLE pthread_mutex_t;
66
typedef int pthread_once_t;
77

8-
DWORD pthread_self();
8+
DWORD pthread_self(void);
99

1010
void pthread_setspecific(pthread_key_t, void *);
1111
void *pthread_getspecific(pthread_key_t);

0 commit comments

Comments
 (0)