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

Commitb498b79

Browse files
committed
Move postgres.h to the top of the C file.
1 parent8f367dd commitb498b79

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

‎src/tools/thread/thread_test.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group
77
* Portions Copyright (c) 1994, Regents of the University of California
88
*
9-
*$PostgreSQL: pgsql/src/tools/thread/thread_test.c,v 1.25 2004/04/26 00:38:25 momjian Exp $
9+
*$PostgreSQL: pgsql/src/tools/thread/thread_test.c,v 1.26 2004/04/27 17:22:41 momjian Exp $
1010
*
1111
*This program tests to see if your standard libc functions use
1212
*pthread_setspecific()/pthread_getspecific() to be thread-safe.
@@ -20,8 +20,9 @@
2020
*-------------------------------------------------------------------------
2121
*/
2222

23-
#include<stdio.h>
23+
#include"postgres.h"
2424

25+
#include<stdio.h>
2526
#include<stdlib.h>
2627
#include<unistd.h>
2728
#include<netdb.h>
@@ -31,8 +32,6 @@
3132
#include<fcntl.h>
3233
#include<errno.h>
3334

34-
#include"postgres.h"
35-
3635
#ifndefENABLE_THREAD_SAFETY
3736
int
3837
main(intargc,char*argv[])

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp