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

Commitda2e0dd

Browse files
committed
Remove compile warnings, ensure consistent build environment for
largefile usage.
1 parentf2a242f commitda2e0dd

File tree

4 files changed

+25
-37
lines changed

4 files changed

+25
-37
lines changed

‎contrib/pg_dumplo/lo_export.c

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,22 @@
11
/* -------------------------------------------------------------------------
22
* pg_dumplo
33
*
4-
* $Header: /cvsroot/pgsql/contrib/pg_dumplo/Attic/lo_export.c,v 1.10 2002/09/04 20:31:06 momjian Exp $
4+
* $Header: /cvsroot/pgsql/contrib/pg_dumplo/Attic/lo_export.c,v 1.11 2002/09/05 21:01:16 tgl Exp $
55
*
66
*Karel Zak 1999-2000
77
* -------------------------------------------------------------------------
88
*/
99

10-
#include<stdio.h>
11-
#include<unistd.h>
12-
#include<stdlib.h>
13-
#include<string.h>
14-
#include<sys/stat.h>
15-
#include<sys/types.h>
10+
#include"postgres_fe.h"
11+
1612
#include<fcntl.h>
1713
#include<errno.h>
1814
#include<time.h>
15+
#include<unistd.h>
16+
#include<sys/stat.h>
1917

20-
#include<libpq-fe.h>
21-
#include<libpq/libpq-fs.h>
18+
#include"libpq-fe.h"
19+
#include"libpq/libpq-fs.h"
2220

2321
#include"pg_dumplo.h"
2422

‎contrib/pg_dumplo/lo_import.c

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,22 @@
11
/* -------------------------------------------------------------------------
22
* pg_dumplo
33
*
4-
* $Header: /cvsroot/pgsql/contrib/pg_dumplo/Attic/lo_import.c,v 1.8 2002/09/04 20:31:06 momjian Exp $
4+
* $Header: /cvsroot/pgsql/contrib/pg_dumplo/Attic/lo_import.c,v 1.9 2002/09/05 21:01:16 tgl Exp $
55
*
66
*Karel Zak 1999-2000
77
* -------------------------------------------------------------------------
88
*/
99

10-
#include<stdio.h>
11-
#include<unistd.h>
12-
#include<stdlib.h>
13-
#include<string.h>
14-
#include<sys/stat.h>
15-
#include<sys/types.h>
10+
#include"postgres_fe.h"
11+
1612
#include<fcntl.h>
1713
#include<errno.h>
1814
#include<time.h>
15+
#include<unistd.h>
16+
#include<sys/stat.h>
1917

20-
#include<libpq-fe.h>
21-
#include<libpq/libpq-fs.h>
18+
#include"libpq-fe.h"
19+
#include"libpq/libpq-fs.h"
2220

2321
#include"pg_dumplo.h"
2422

‎contrib/pg_dumplo/main.c

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,19 @@
11
/* -------------------------------------------------------------------------
22
* pg_dumplo
33
*
4-
* $Header: /cvsroot/pgsql/contrib/pg_dumplo/Attic/main.c,v 1.11 2002/09/04 20:31:07 momjian Exp $
4+
* $Header: /cvsroot/pgsql/contrib/pg_dumplo/Attic/main.c,v 1.12 2002/09/05 21:01:16 tgl Exp $
55
*
66
*Karel Zak 1999-2000
77
* -------------------------------------------------------------------------
88
*/
99

10-
/* We import postgres_fe.h mostly to get the HAVE_GETOPT_LONG configure result. */
11-
#ifndefOUT_OF_PG
1210
#include"postgres_fe.h"
13-
#endif
1411

15-
#include<stdio.h>
16-
#include<unistd.h>
17-
#include<stdlib.h>
18-
#include<string.h>
1912
#include<errno.h>
13+
#include<unistd.h>
2014

21-
#include<libpq-fe.h>
22-
#include<libpq/libpq-fs.h>
15+
#include"libpq-fe.h"
16+
#include"libpq/libpq-fs.h"
2317

2418
#include"pg_dumplo.h"
2519

‎contrib/pg_dumplo/utils.c

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,22 @@
11
/* -------------------------------------------------------------------------
22
* pg_dumplo
33
*
4-
* $Header: /cvsroot/pgsql/contrib/pg_dumplo/Attic/utils.c,v 1.5 2002/08/15 02:58:29 momjian Exp $
4+
* $Header: /cvsroot/pgsql/contrib/pg_dumplo/Attic/utils.c,v 1.6 2002/09/05 21:01:16 tgl Exp $
55
*
66
*Karel Zak 1999-2000
77
* -------------------------------------------------------------------------
88
*/
99

10-
#include<stdio.h>
11-
#include<unistd.h>
12-
#include<stdlib.h>
13-
#include<string.h>
14-
#include<sys/stat.h>
15-
#include<sys/types.h>
10+
#include"postgres_fe.h"
11+
1612
#include<fcntl.h>
1713
#include<errno.h>
1814
#include<time.h>
15+
#include<unistd.h>
16+
#include<sys/stat.h>
1917

20-
#include<libpq-fe.h>
21-
#include<libpq/libpq-fs.h>
18+
#include"libpq-fe.h"
19+
#include"libpq/libpq-fs.h"
2220

2321
#include"pg_dumplo.h"
2422

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp