mirror of
https://github.com/postgres/postgres.git
synced 2025-11-12 05:01:15 +03:00
Remove unused #includes in *.c files.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: be-dumpdata.c,v 1.26 1999/07/15 15:19:03 momjian Exp $
|
||||
* $Id: be-dumpdata.c,v 1.27 1999/07/15 22:39:13 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -34,13 +34,6 @@
|
||||
#include <lib/dllist.h>
|
||||
#include <libpq/libpq.h>
|
||||
#include <access/heapam.h>
|
||||
#include <access/htup.h>
|
||||
#include <storage/buf.h>
|
||||
#include <utils/memutils.h>
|
||||
#include <fmgr.h>
|
||||
#include <utils/exc.h>
|
||||
#include <utils/syscache.h>
|
||||
#include <catalog/pg_type.h>
|
||||
#include <catalog/catalog.h>
|
||||
#include <access/printtup.h>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/libpq/be-fsstubs.c,v 1.36 1999/07/15 15:19:04 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/libpq/be-fsstubs.c,v 1.37 1999/07/15 22:39:13 momjian Exp $
|
||||
*
|
||||
* NOTES
|
||||
* This should be moved to a more appropriate place. It is here
|
||||
@@ -37,14 +37,8 @@
|
||||
|
||||
#include <postgres.h>
|
||||
|
||||
#include <lib/dllist.h>
|
||||
#include <libpq/libpq.h>
|
||||
#include <libpq/libpq-fs.h>
|
||||
#include <nodes/nodes.h>
|
||||
#include <utils/memutils.h>
|
||||
#include <lib/fstack.h>
|
||||
#include <catalog/pg_shadow.h> /* for superuser() */
|
||||
#include <storage/fd.h> /* for O_ */
|
||||
#include <storage/large_object.h>
|
||||
#include <libpq/be-fsstubs.h>
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/libpq/Attic/be-pqexec.c,v 1.20 1999/02/13 23:15:41 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/libpq/Attic/be-pqexec.c,v 1.21 1999/07/15 22:39:14 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -22,17 +22,11 @@
|
||||
*/
|
||||
#include <postgres.h>
|
||||
|
||||
#include <nodes/pg_list.h>
|
||||
#include <tcop/dest.h>
|
||||
#include <tcop/fastpath.h>
|
||||
#include <tcop/tcopprot.h>
|
||||
#include <lib/dllist.h>
|
||||
#include <libpq/libpq.h>
|
||||
#include <fmgr.h>
|
||||
#include <utils/exc.h>
|
||||
#include <utils/builtins.h>
|
||||
#ifndef HAVE_MEMMOVE
|
||||
#include <regex/utils.h>
|
||||
#else
|
||||
#include <string.h>
|
||||
#endif
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* Dec 17, 1997 - Todd A. Brandys
|
||||
* Orignal Version Completed.
|
||||
*
|
||||
* $Id: crypt.c,v 1.20 1999/07/15 15:19:05 momjian Exp $
|
||||
* $Id: crypt.c,v 1.21 1999/07/15 22:39:14 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -26,7 +26,6 @@
|
||||
#include "libpq/crypt.h"
|
||||
|
||||
#ifdef HAVE_CRYPT_H
|
||||
#include <crypt.h>
|
||||
#endif
|
||||
|
||||
char **pwd_cache = NULL;
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* wherein you authenticate a user by seeing what IP address the system
|
||||
* says he comes from and possibly using ident).
|
||||
*
|
||||
* $Id: hba.c,v 1.43 1999/05/25 16:08:59 momjian Exp $
|
||||
* $Id: hba.c,v 1.44 1999/07/15 22:39:14 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -23,10 +23,6 @@
|
||||
#include <postgres.h>
|
||||
#include <miscadmin.h>
|
||||
#include <libpq/libpq.h>
|
||||
#include <libpq/pqcomm.h>
|
||||
#include <libpq/hba.h>
|
||||
#include <port/inet_aton.h> /* For inet_aton() */
|
||||
#include <storage/fd.h>
|
||||
|
||||
/* Some standard C libraries, including GNU, have an isblank() function.
|
||||
Others, including Solaris, do not. So we have our own.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: password.c,v 1.21 1999/05/25 16:09:00 momjian Exp $
|
||||
* $Id: password.c,v 1.22 1999/07/15 22:39:14 momjian Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -9,11 +9,9 @@
|
||||
#include <miscadmin.h>
|
||||
#include <libpq/password.h>
|
||||
#include <libpq/libpq.h>
|
||||
#include <storage/fd.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#ifdef HAVE_CRYPT_H
|
||||
#include <crypt.h>
|
||||
#endif
|
||||
|
||||
int
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: portal.c,v 1.22 1999/05/25 16:09:01 momjian Exp $
|
||||
* $Id: portal.c,v 1.23 1999/07/15 22:39:14 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -55,9 +55,7 @@
|
||||
|
||||
#include <postgres.h>
|
||||
|
||||
#include <lib/dllist.h>
|
||||
#include <libpq/libpq.h> /* where the declarations go */
|
||||
#include <utils/exc.h>
|
||||
|
||||
|
||||
/* ----------------------------------------------------------------
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/libpq/Attic/portalbuf.c,v 1.16 1999/06/19 05:00:27 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/libpq/Attic/portalbuf.c,v 1.17 1999/07/15 22:39:15 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -53,7 +53,6 @@
|
||||
#include <postgres.h>
|
||||
|
||||
#include <libpq/libpq.h> /* where the declarations go */
|
||||
#include <utils/exc.h>
|
||||
|
||||
PortalEntry **portals = (PortalEntry **) NULL;
|
||||
size_t portals_array_size = 0;
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: pqcomm.c,v 1.73 1999/07/07 17:17:47 momjian Exp $
|
||||
* $Id: pqcomm.c,v 1.74 1999/07/15 22:39:15 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -81,10 +81,6 @@
|
||||
|
||||
#include "libpq/libpq.h" /* where my declarations go */
|
||||
#include "miscadmin.h"
|
||||
#include "libpq/pqsignal.h"
|
||||
#include "libpq/auth.h"
|
||||
#include "storage/ipc.h"
|
||||
#include "utils/trace.h"
|
||||
|
||||
#ifndef SOMAXCONN
|
||||
#define SOMAXCONN 5 /* from Linux listen(2) man page */
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: pqformat.c,v 1.4 1999/05/25 16:09:02 momjian Exp $
|
||||
* $Id: pqformat.c,v 1.5 1999/07/15 22:39:15 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -48,11 +48,9 @@
|
||||
#include "libpq/pqformat.h"
|
||||
#include "libpq/libpq.h"
|
||||
#ifdef MULTIBYTE
|
||||
#include "mb/pg_wchar.h"
|
||||
#endif
|
||||
#include <string.h>
|
||||
#ifdef HAVE_ENDIAN_H
|
||||
#include <endian.h>
|
||||
#endif
|
||||
|
||||
#ifndef BYTE_ORDER
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/libpq/Attic/pqpacket.c,v 1.19 1999/02/13 23:15:47 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/libpq/Attic/pqpacket.c,v 1.20 1999/07/15 22:39:15 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -24,8 +24,6 @@
|
||||
#include <errno.h>
|
||||
|
||||
#include <postgres.h>
|
||||
#include <miscadmin.h>
|
||||
#include <storage/ipc.h>
|
||||
#include <libpq/libpq.h>
|
||||
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
*
|
||||
* Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: util.c,v 1.9 1999/05/25 16:09:03 momjian Exp $
|
||||
* $Id: util.c,v 1.10 1999/07/15 22:39:15 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -21,9 +21,7 @@
|
||||
#include <string.h>
|
||||
|
||||
#include <postgres.h>
|
||||
#include <lib/dllist.h>
|
||||
#include <libpq/libpq.h> /* where the declarations go */
|
||||
#include <utils/exc.h>
|
||||
|
||||
|
||||
/* ----------------
|
||||
|
||||
Reference in New Issue
Block a user