diff options
author | Marc G. Fournier <scrappy@hub.org> | 1996-11-05 08:19:01 +0000 |
---|---|---|
committer | Marc G. Fournier <scrappy@hub.org> | 1996-11-05 08:19:01 +0000 |
commit | 0cf60fb7182a76437d9953c75c649fd5ea1d43ca (patch) | |
tree | df29f2b761a97e0d6f8f3bc67cd848e06ace30c9 /src/backend/access/gist | |
parent | d1e9a761317271eb0c7a317fad123a18923ebfce (diff) | |
download | postgresql-0cf60fb7182a76437d9953c75c649fd5ea1d43ca.tar.gz postgresql-0cf60fb7182a76437d9953c75c649fd5ea1d43ca.zip |
More cleaned out #include files
Makefile fixed for fmgr.h
Diffstat (limited to 'src/backend/access/gist')
-rw-r--r-- | src/backend/access/gist/Makefile | 5 | ||||
-rw-r--r-- | src/backend/access/gist/gist.c | 31 | ||||
-rw-r--r-- | src/backend/access/gist/gistget.c | 22 | ||||
-rw-r--r-- | src/backend/access/gist/gistscan.c | 27 | ||||
-rw-r--r-- | src/backend/access/gist/giststrat.c | 6 |
5 files changed, 39 insertions, 52 deletions
diff --git a/src/backend/access/gist/Makefile b/src/backend/access/gist/Makefile index b87c0e86384..c0f811a2371 100644 --- a/src/backend/access/gist/Makefile +++ b/src/backend/access/gist/Makefile @@ -4,14 +4,15 @@ # Makefile for access/gist # # IDENTIFICATION -# $Header: /cvsroot/pgsql/src/backend/access/gist/Makefile,v 1.2 1996/11/03 09:06:47 scrappy Exp $ +# $Header: /cvsroot/pgsql/src/backend/access/gist/Makefile,v 1.3 1996/11/05 08:18:42 scrappy Exp $ # #------------------------------------------------------------------------- SRCDIR = ../../.. include ../../../Makefile.global -INCLUDE_OPT = -I../../port/$(PORTNAME) \ +INCLUDE_OPT = -I../.. \ + -I../../port/$(PORTNAME) \ -I../../../include CFLAGS+=$(INCLUDE_OPT) diff --git a/src/backend/access/gist/gist.c b/src/backend/access/gist/gist.c index ad817f950d8..fa29a961773 100644 --- a/src/backend/access/gist/gist.c +++ b/src/backend/access/gist/gist.c @@ -11,23 +11,24 @@ *------------------------------------------------------------------------- */ -#include "postgres.h" - -#include "fmgr.h" -#include "access/genam.h" -#include "access/gist.h" -#include "access/gistscan.h" -#include "access/heapam.h" -#include "catalog/index.h" -#include "executor/executor.h" -#include "storage/bufmgr.h" -#include "storage/bufpage.h" -#include "storage/lmgr.h" -#include "utils/palloc.h" -#include "utils/syscache.h" +#include <postgres.h> + +#include <fmgr.h> +#include <access/genam.h> +#include <access/gist.h> +#include <access/gistscan.h> +#include <access/heapam.h> +#include <catalog/index.h> +#include <executor/executor.h> +#include <storage/bufmgr.h> +#include <storage/bufpage.h> +#include <storage/lmgr.h> +#include <utils/syscache.h> #ifndef HAVE_MEMMOVE -# include "regex/utils.h" +# include <regex/utils.h> +#else +# include <string.h> #endif /* non-export function prototypes */ diff --git a/src/backend/access/gist/gistget.c b/src/backend/access/gist/gistget.c index 01c93da00c8..1a9a01a6a8e 100644 --- a/src/backend/access/gist/gistget.c +++ b/src/backend/access/gist/gistget.c @@ -11,22 +11,18 @@ *------------------------------------------------------------------------- */ -#include <stdio.h> -#include <time.h> +#include <postgres.h> -#include "postgres.h" - -#include "access/relscan.h" -#include "storage/bufpage.h" -#include "access/sdir.h" -#include "access/itup.h" -#include "access/gist.h" -#include "executor/execdebug.h" -#include "utils/palloc.h" -#include "storage/bufmgr.h" +#include <access/relscan.h> +#include <storage/bufpage.h> +#include <access/sdir.h> +#include <access/itup.h> +#include <access/gist.h> +#include <executor/execdebug.h> +#include <storage/bufmgr.h> #ifndef HAVE_MEMMOVE -# include "regex/utils.h" +# include <regex/utils.h> #else # include <string.h> #endif diff --git a/src/backend/access/gist/gistscan.c b/src/backend/access/gist/gistscan.c index bab14bac69b..0f3ce3b59d9 100644 --- a/src/backend/access/gist/gistscan.c +++ b/src/backend/access/gist/gistscan.c @@ -10,32 +10,21 @@ *------------------------------------------------------------------------- */ -#include <stdio.h> -#include <time.h> +#include <postgres.h> -#include "postgres.h" - -#include "access/relscan.h" -#include "access/gist.h" -#include "access/genam.h" -#include "storage/lmgr.h" +#include <access/gist.h> +#include <access/genam.h> +#include <access/rtree.h> +#include <storage/bufmgr.h> +#include <access/giststrat.h> +#include <storage/lmgr.h> #ifndef HAVE_MEMMOVE -# include "regex/utils.h" +# include <regex/utils.h> #else # include <string.h> #endif -#include "utils/palloc.h" - -#include "storage/block.h" -#include "storage/off.h" -#include "access/rtree.h" - -#include "storage/bufmgr.h" - -#include "access/giststrat.h" - /* routines defined and used here */ static void gistregscan(IndexScanDesc s); static void gistdropscan(IndexScanDesc s); diff --git a/src/backend/access/gist/giststrat.c b/src/backend/access/gist/giststrat.c index d4d9523eaa5..fd9ab849cbe 100644 --- a/src/backend/access/gist/giststrat.c +++ b/src/backend/access/gist/giststrat.c @@ -12,10 +12,10 @@ *------------------------------------------------------------------------- */ -#include "postgres.h" +#include <postgres.h> -#include "access/gist.h" -#include "access/istrat.h" +#include <access/gist.h> +#include <access/istrat.h> /* * Note: negate, commute, and negatecommute all assume that operators are |