Skip to content

Commit b498b79

Browse files
committed
Move postgres.h to the top of the C file.
1 parent 8f367dd commit b498b79

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
#ifndef ENABLE_THREAD_SAFETY
3736
int
3837
main(int argc, char *argv[])

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy