Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5574c9f

Browse files
committed
Silence mingw compiler warning
1 parentc228448 commit5574c9f

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
returnGetCurrentThreadId();
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
typedefHANDLEpthread_mutex_t;
66
typedefintpthread_once_t;
77

8-
DWORDpthread_self();
8+
DWORDpthread_self(void);
99

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp