Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9b645d4

Browse files
committed
Update #include cleanups
1 parent a9591ce commit 9b645d4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

109 files changed

+261
-264
lines changed

src/backend/bootstrap/bootstrap.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
* Copyright (c) 1994, Regents of the University of California
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.62 1999/07/15 22:38:55 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/bootstrap/bootstrap.c,v 1.63 1999/07/16 03:12:46 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
14-
#include <unistd.h> /* For getopt() */
14+
#include <unistd.h>
1515
#include <time.h>
1616
#include <stdio.h>
1717
#include <signal.h>

src/backend/catalog/aclchk.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/catalog/aclchk.c,v 1.23 1999/07/15 22:38:57 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/catalog/aclchk.c,v 1.24 1999/07/16 03:12:46 momjian Exp $
1111
*
1212
* NOTES
1313
* See acl.h.
@@ -17,7 +17,7 @@
1717
#include <string.h>
1818
#include "postgres.h"
1919

20-
#include "utils/acl.h" /* where declarations for this file go */
20+
#include "utils/acl.h"
2121
#include "access/heapam.h"
2222
#include "catalog/indexing.h"
2323
#include "catalog/catalog.h"

src/backend/catalog/catalog.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,17 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/catalog/catalog.c,v 1.22 1999/07/15 23:03:04 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/catalog/catalog.c,v 1.23 1999/07/16 03:12:47 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
1414
#include <string.h>
1515

1616
#include "postgres.h"
1717

18-
#include <miscadmin.h> /* for DataDir */
18+
#include "miscadmin.h"
1919
#include "utils/syscache.h"
20-
#include <catalog/catname.h> /* NameIs{,Shared}SystemRelationName */
20+
#include "catalog/catname.h"
2121
#include "catalog/pg_type.h"
2222
#include "catalog/catalog.h"
2323
#include "access/transam.h"

src/backend/commands/_deadcode/recipe.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/commands/_deadcode/Attic/recipe.c,v 1.5 1999/07/15 23:03:09 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/commands/_deadcode/Attic/recipe.c,v 1.6 1999/07/16 03:12:49 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -22,7 +22,7 @@
2222
#include "libpq/libpq-be.h"
2323
#include "parser/parse_node.h"
2424
#include "utils/builtins.h"
25-
#include <utils/relcache.h> /* for RelationNameGetRelation */
25+
#include "utils/relcache.h"
2626
#include "rewrite/rewriteHandler.h"
2727
#include "rewrite/rewriteManip.h"
2828
#include "tcop/pquery.h"

src/backend/commands/async.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Copyright (c) 1994, Regents of the University of California
77
*
88
* IDENTIFICATION
9-
* $Header: /cvsroot/pgsql/src/backend/commands/async.c,v 1.49 1999/07/15 23:03:06 momjian Exp $
9+
* $Header: /cvsroot/pgsql/src/backend/commands/async.c,v 1.50 1999/07/16 03:12:47 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -80,7 +80,7 @@
8080
#include <signal.h>
8181
#include <string.h>
8282
#include <errno.h>
83-
#include <sys/types.h> /* Needed by in.h on Ultrix */
83+
#include <sys/types.h>
8484
#include <netinet/in.h>
8585

8686
#include "postgres.h"

src/backend/commands/dbcommands.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/commands/dbcommands.c,v 1.36 1999/07/15 22:39:01 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/commands/dbcommands.c,v 1.37 1999/07/16 03:12:48 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -22,7 +22,7 @@
2222
#include "catalog/catname.h"
2323
#include "catalog/pg_database.h"
2424
#include "catalog/pg_shadow.h"
25-
#include "miscadmin.h" /* for DataDir */
25+
#include "miscadmin.h"
2626
#include "tcop/tcopprot.h"
2727
#include "commands/dbcommands.h"
2828
#include "utils/syscache.h"

src/backend/commands/define.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
*
1111
* IDENTIFICATION
12-
* $Header: /cvsroot/pgsql/src/backend/commands/define.c,v 1.31 1999/07/15 23:03:08 momjian Exp $
12+
* $Header: /cvsroot/pgsql/src/backend/commands/define.c,v 1.32 1999/07/16 03:12:48 momjian Exp $
1313
*
1414
* DESCRIPTION
1515
* The "DefineFoo" routines take the parse tree and pick out the
@@ -47,8 +47,8 @@
4747
#include "catalog/pg_type.h"
4848
#include "catalog/pg_language.h"
4949
#include "utils/syscache.h"
50-
#include <fmgr.h> /* for fmgr */
51-
#include <utils/builtins.h> /* prototype for textin() */
50+
#include "fmgr.h"
51+
#include "utils/builtins.h"
5252
#include "commands/defrem.h"
5353
#include "tcop/dest.h"
5454
#include "catalog/pg_shadow.h"

src/backend/commands/indexcmds.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/commands/indexcmds.c,v 1.6 1999/07/15 23:03:08 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/commands/indexcmds.c,v 1.7 1999/07/16 03:12:48 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -26,7 +26,7 @@
2626
#include "catalog/pg_type.h"
2727
#include "catalog/pg_opclass.h"
2828
#include "commands/defrem.h"
29-
#include <parser/parsetree.h> /* for getrelid() */
29+
#include "parser/parsetree.h"
3030
#include "optimizer/prep.h"
3131
#include "optimizer/clauses.h"
3232

src/backend/commands/rename.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/rename.c,v 1.28 1999/07/15 23:03:08 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/rename.c,v 1.29 1999/07/16 03:12:49 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -21,7 +21,7 @@
2121
#include "catalog/catalog.h"
2222
#include "commands/rename.h"
2323
#include "miscadmin.h"
24-
#include <optimizer/prep.h> /* for find_all_inheritors */
24+
#include "optimizer/prep.h"
2525
#ifndef NO_SECURITY
2626
#include "utils/acl.h"
2727
#endif /* !NO_SECURITY */

src/backend/executor/execAmi.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Copyright (c) 1994, Regents of the University of California
77
*
8-
* $Id: execAmi.c,v 1.38 1999/07/15 22:39:04 momjian Exp $
8+
* $Id: execAmi.c,v 1.39 1999/07/16 03:12:50 momjian Exp $
99
*
1010
*-------------------------------------------------------------------------
1111
*/
@@ -46,7 +46,7 @@
4646
#include "executor/nodeAppend.h"
4747
#include "executor/nodeSubplan.h"
4848
#include "executor/execdebug.h"
49-
#include "optimizer/internal.h" /* for _NONAME_RELATION_ID_ */
49+
#include "optimizer/internal.h"
5050
#include "access/genam.h"
5151
#include "access/heapam.h"
5252
#include "catalog/heap.h"

0 commit comments

Comments
 (0)