From: Marc G. Fournier <scrappy@hub.org>
Date: Mon, 21 Oct 1996 05:59:49 +0000 (+0000)
Subject: -Wall'd
X-Git-Tag: REL2_0~388
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b446f38510d38dbc51b5bf10f9002e79effa87e8;p=postgresql

-Wall'd
---

diff --git a/src/backend/access/heap/heapam.c b/src/backend/access/heap/heapam.c
index c4ce2dbb51..25e6693d4f 100644
--- a/src/backend/access/heap/heapam.c
+++ b/src/backend/access/heap/heapam.c
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *    $Header: /cvsroot/pgsql/src/backend/access/heap/heapam.c,v 1.4 1996/10/20 08:31:57 scrappy Exp $
+ *    $Header: /cvsroot/pgsql/src/backend/access/heap/heapam.c,v 1.5 1996/10/21 05:59:44 scrappy Exp $
  *
  *
  * INTERFACE ROUTINES
@@ -113,6 +113,38 @@
 #include "access/valid.h"
 #include "utils/relcache.h"
 
+#ifndef HAVE_MEMMOVE
+# include "regex/utils.h"
+#else
+# include <string.h>
+#endif
+
+#include <stdio.h>
+#include "storage/ipc.h" 
+#include "storage/bufmgr.h"
+
+#include "utils/palloc.h"
+
+#include "access/hio.h"
+
+#include "storage/spin.h"
+#include "utils/hsearch.h"
+#include "storage/shmem.h"
+#include "storage/lock.h"  
+#include "storage/lmgr.h"
+
+#include "storage/smgr.h"
+
+#include "catalog/catalog.h"
+
+#include "access/transam.h"
+
+#include "access/xact.h"
+
+#include "utils/inval.h"
+
+#include "utils/memutils.h"
+
 static bool	ImmediateInvalidation;
 
 /* ----------------------------------------------------------------
diff --git a/src/backend/access/heap/hio.c b/src/backend/access/heap/hio.c
index 03d1c918e2..fd80c0da21 100644
--- a/src/backend/access/heap/hio.c
+++ b/src/backend/access/heap/hio.c
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *    $Id: hio.c,v 1.4 1996/10/20 08:31:59 scrappy Exp $
+ *    $Id: hio.c,v 1.5 1996/10/21 05:59:46 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -38,7 +38,6 @@
 
 #include "storage/itemid.h"
 #include "storage/item.h"
-#include "storage/buf.h"
 #include "storage/off.h"
 #include "storage/bufpage.h"
 
@@ -47,8 +46,12 @@
 
 #include "access/heapam.h"
 
+#include <stdio.h>
+#include "storage/ipc.h"
 #include "storage/bufmgr.h"
 
+#include "utils/memutils.h"
+
 /*
  * amputunique	- place tuple at tid
  *   Currently on errors, calls elog.  Perhaps should return -1?
diff --git a/src/backend/access/heap/stats.c b/src/backend/access/heap/stats.c
index 1ec4b8bfc9..f85af5f7d1 100644
--- a/src/backend/access/heap/stats.c
+++ b/src/backend/access/heap/stats.c
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *    $Header: /cvsroot/pgsql/src/backend/access/heap/Attic/stats.c,v 1.3 1996/10/20 08:32:01 scrappy Exp $
+ *    $Header: /cvsroot/pgsql/src/backend/access/heap/Attic/stats.c,v 1.4 1996/10/21 05:59:49 scrappy Exp $
  *
  * NOTES
  *    initam should be moved someplace else.
@@ -47,6 +47,16 @@
 
 #include "utils/mcxt.h"
 
+#include "utils/palloc.h"
+
+#ifndef HAVE_MEMMOVE
+# include "regex/utils.h"
+#else
+# include <string.h>
+#endif
+
+#include <stdio.h>
+
 /* ----------------
  *      InitHeapAccessStatistics
  * ----------------