From d2125805d1d35487acb7bb515168c90b7de78ef2 Mon Sep 17 00:00:00 2001
From: "Marc G. Fournier" <scrappy@hub.org>
Date: Tue, 5 Nov 1996 06:11:08 +0000
Subject: [PATCH] Another directory totally cleaned out

---
 src/include/storage/backendid.h     |  3 +--
 src/include/storage/buf_internals.h | 11 +++--------
 src/include/storage/bufmgr.h        | 11 ++++++-----
 src/include/storage/bufpage.h       | 12 ++++++------
 src/include/storage/itempos.h       |  6 +++---
 src/include/storage/large_object.h  |  7 ++++---
 src/include/storage/lmgr.h          |  8 +++-----
 src/include/storage/lock.h          |  9 +++------
 src/include/storage/multilev.h      |  5 ++---
 src/include/storage/pagenum.h       |  3 +--
 src/include/storage/proc.h          |  9 +++------
 src/include/storage/shmem.h         |  7 ++++---
 src/include/storage/sinval.h        |  8 +++-----
 src/include/storage/sinvaladt.h     |  7 +++----
 src/include/storage/smgr.h          |  7 ++++---
 src/include/storage/spin.h          |  4 ++--
 16 files changed, 51 insertions(+), 66 deletions(-)

diff --git a/src/include/storage/backendid.h b/src/include/storage/backendid.h
index f12dc424701..c631d9c38ce 100644
--- a/src/include/storage/backendid.h
+++ b/src/include/storage/backendid.h
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: backendid.h,v 1.1 1996/08/28 01:57:54 scrappy Exp $
+ * $Id: backendid.h,v 1.2 1996/11/05 06:10:52 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -14,7 +14,6 @@
 #define BACKENDID_H
 
 /* ----------------
- *	pulled out of sinval.h to temporarily reduce #include nesting.
  *	-cim 8/17/90
  * ----------------
  */
diff --git a/src/include/storage/buf_internals.h b/src/include/storage/buf_internals.h
index dce25885f3d..f0920b04d2b 100644
--- a/src/include/storage/buf_internals.h
+++ b/src/include/storage/buf_internals.h
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: buf_internals.h,v 1.4 1996/11/04 04:00:24 momjian Exp $
+ * $Id: buf_internals.h,v 1.5 1996/11/05 06:10:53 scrappy Exp $
  *
  * NOTE
  *	If BUFFERPAGE0 is defined, then 0 will be used as a
@@ -17,13 +17,8 @@
 #ifndef	BUFMGR_INTERNALS_H
 #define BUFMGR_INTERNALS_H
 
-#include "storage/buf.h"
-#include "storage/ipc.h"
-#include "storage/shmem.h"
-#include "miscadmin.h"
-#include "storage/lmgr.h"
-#include "utils/rel.h"
-#include "utils/relcache.h"
+#include <storage/lmgr.h>
+#include <storage/buf.h>
 
 /* Buf Mgr constants */
 /* in bufmgr.c */
diff --git a/src/include/storage/bufmgr.h b/src/include/storage/bufmgr.h
index e1b397a2a3d..55a26661937 100644
--- a/src/include/storage/bufmgr.h
+++ b/src/include/storage/bufmgr.h
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: bufmgr.h,v 1.6 1996/11/03 12:13:10 scrappy Exp $
+ * $Id: bufmgr.h,v 1.7 1996/11/05 06:10:54 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -14,10 +14,11 @@
 #define BUFMGR_H
 
 #include <stdio.h>
-#include "storage/block.h"
-#include "storage/buf.h"
-#include "storage/ipc.h"
-#include "utils/rel.h"
+
+#include <storage/ipc.h>
+#include <storage/block.h>
+#include <storage/buf.h>
+#include <utils/rel.h>
 
 /*
  * the maximum size of a disk block for any possible installation.
diff --git a/src/include/storage/bufpage.h b/src/include/storage/bufpage.h
index 962b0290caa..f8d9f7f97c1 100644
--- a/src/include/storage/bufpage.h
+++ b/src/include/storage/bufpage.h
@@ -6,18 +6,18 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: bufpage.h,v 1.6 1996/11/01 09:31:09 scrappy Exp $
+ * $Id: bufpage.h,v 1.7 1996/11/05 06:10:57 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef	BUFPAGE_H
 #define BUFPAGE_H
 
-#include "storage/item.h"
-#include "storage/off.h" 
-#include "storage/page.h"
-#include "storage/buf.h"
-#include "storage/itemid.h"
+#include <storage/off.h>
+#include <storage/itemid.h>
+#include <storage/item.h>
+#include <storage/buf.h>
+#include <storage/page.h>
 
 /*
  * a postgres disk page is an abstraction layered on top of a postgres
diff --git a/src/include/storage/itempos.h b/src/include/storage/itempos.h
index 317ce0e08c2..fc847df4ec9 100644
--- a/src/include/storage/itempos.h
+++ b/src/include/storage/itempos.h
@@ -6,15 +6,15 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: itempos.h,v 1.2 1996/10/31 09:49:50 scrappy Exp $
+ * $Id: itempos.h,v 1.3 1996/11/05 06:10:58 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef	ITEMPOS_H
 #define ITEMPOS_H
 
-#include "storage/buf.h"
-#include "storage/itemid.h"
+#include <storage/itemid.h>
+#include <storage/buf.h>
 
 typedef struct ItemSubpositionData {
 	Buffer		op_db;
diff --git a/src/include/storage/large_object.h b/src/include/storage/large_object.h
index d4642d9470a..24492571f44 100644
--- a/src/include/storage/large_object.h
+++ b/src/include/storage/large_object.h
@@ -7,15 +7,16 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: large_object.h,v 1.2 1996/10/31 09:49:54 scrappy Exp $
+ * $Id: large_object.h,v 1.3 1996/11/05 06:10:58 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef	LARGE_OBJECT_H
 #define	LARGE_OBJECT_H
 
-#include "utils/rel.h"
-#include "access/relscan.h"
+#include <sys/types.h>
+
+#include <access/relscan.h>
 
 /*
  * This structure will eventually have lots more stuff associated with it.
diff --git a/src/include/storage/lmgr.h b/src/include/storage/lmgr.h
index 655ed7c93c5..4f3398c665d 100644
--- a/src/include/storage/lmgr.h
+++ b/src/include/storage/lmgr.h
@@ -6,17 +6,15 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: lmgr.h,v 1.2 1996/10/31 09:49:56 scrappy Exp $
+ * $Id: lmgr.h,v 1.3 1996/11/05 06:10:59 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef	LMGR_H
 #define LMGR_H
 
-
-#include "storage/itemptr.h"
-#include "storage/lock.h"
-#include "utils/rel.h"
+#include <storage/lock.h>
+#include <utils/rel.h>
 
 /* 
  * This was moved from pladt.h for the new lock manager.  Want to obsolete
diff --git a/src/include/storage/lock.h b/src/include/storage/lock.h
index e4af5d07c57..e8c46ce739b 100644
--- a/src/include/storage/lock.h
+++ b/src/include/storage/lock.h
@@ -6,18 +6,15 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: lock.h,v 1.2 1996/10/31 09:49:57 scrappy Exp $
+ * $Id: lock.h,v 1.3 1996/11/05 06:11:00 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef LOCK_H_
 #define LOCK_H_
 
-#include "storage/itemptr.h"
-#include "storage/shmem.h"
-#include "storage/spin.h"
-#include "storage/backendid.h"
-#include "utils/hsearch.h"
+#include <storage/shmem.h>
+#include <storage/itemptr.h>
 
 extern SPINLOCK LockMgrLock;
 typedef int MASK;
diff --git a/src/include/storage/multilev.h b/src/include/storage/multilev.h
index 1d09c854f8b..fd2f39f1d79 100644
--- a/src/include/storage/multilev.h
+++ b/src/include/storage/multilev.h
@@ -7,15 +7,14 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: multilev.h,v 1.1 1996/08/28 01:58:17 scrappy Exp $
+ * $Id: multilev.h,v 1.2 1996/11/05 06:11:01 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef MULTILEV_H
 #define MULTILEV_H
 
-#include "storage/lock.h"
-#include "storage/lmgr.h"
+#include <storage/lmgr.h>
 
 #define READ_LOCK  	2
 #define WRITE_LOCK 	1
diff --git a/src/include/storage/pagenum.h b/src/include/storage/pagenum.h
index bf316304d30..1e4ff7b2120 100644
--- a/src/include/storage/pagenum.h
+++ b/src/include/storage/pagenum.h
@@ -6,14 +6,13 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: pagenum.h,v 1.2 1996/10/31 09:50:00 scrappy Exp $
+ * $Id: pagenum.h,v 1.3 1996/11/05 06:11:02 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef	PAGENUM_H
 #define PAGENUM_H
 
-#include "storage/page.h"
 
 typedef uint16	PageNumber;
 
diff --git a/src/include/storage/proc.h b/src/include/storage/proc.h
index 2a73757a951..db713d6524e 100644
--- a/src/include/storage/proc.h
+++ b/src/include/storage/proc.h
@@ -6,23 +6,20 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: proc.h,v 1.2 1996/10/31 05:57:45 momjian Exp $
+ * $Id: proc.h,v 1.3 1996/11/05 06:11:03 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef _PROC_H_
 #define _PROC_H_
 
-#include "storage/ipc.h"
-#include "storage/lock.h"
+#include <storage/lock.h>
+
 #ifndef WIN32
-#include <sys/ipc.h>
-#include <sys/sem.h>
 #else
 /* This is because WIN32 already defines PROC */
 #define PROC	PGL_PROC
 #endif /* WIN32 */
-#include "storage/shmem.h"
 
 
 typedef struct {
diff --git a/src/include/storage/shmem.h b/src/include/storage/shmem.h
index 2b13c372d4d..72200cff481 100644
--- a/src/include/storage/shmem.h
+++ b/src/include/storage/shmem.h
@@ -6,15 +6,16 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: shmem.h,v 1.1 1996/08/28 01:58:26 scrappy Exp $
+ * $Id: shmem.h,v 1.2 1996/11/05 06:11:04 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef	SHMEM_H
 #define SHMEM_H
 
-#include "storage/spin.h"		/* for SPINLOCK */
-#include "utils/hsearch.h"		/* for HTAB */
+#include <utils/hsearch.h>
+#include <storage/spin.h>
+
 
 /* The shared memory region can start at a different address
  * in every process.  Shared memory "pointers" are actually
diff --git a/src/include/storage/sinval.h b/src/include/storage/sinval.h
index 3ae78824878..efc1ce2e1ac 100644
--- a/src/include/storage/sinval.h
+++ b/src/include/storage/sinval.h
@@ -6,17 +6,15 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: sinval.h,v 1.2 1996/10/31 09:50:06 scrappy Exp $
+ * $Id: sinval.h,v 1.3 1996/11/05 06:11:05 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef	SINVAL_H
 #define SINVAL_H
 
-#include "storage/spin.h"
-#include "storage/ipc.h"
-#include "storage/itemptr.h"
-#include "storage/backendid.h"
+#include <storage/itemptr.h>
+#include <storage/spin.h>
 
 extern SPINLOCK SInvalLock;
 
diff --git a/src/include/storage/sinvaladt.h b/src/include/storage/sinvaladt.h
index c8137d01a6c..9735cb476b1 100644
--- a/src/include/storage/sinvaladt.h
+++ b/src/include/storage/sinvaladt.h
@@ -6,16 +6,15 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: sinvaladt.h,v 1.2 1996/10/31 09:50:07 scrappy Exp $
+ * $Id: sinvaladt.h,v 1.3 1996/11/05 06:11:06 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef SINVALADT_H
 #define SINVALADT_H
 
-#include "storage/ipc.h"
-#include "storage/itemptr.h"
-#include "storage/sinval.h"
+#include <storage/itemptr.h>
+#include <storage/ipc.h>
  
 /*
  * The structure of the shared cache invaidation segment
diff --git a/src/include/storage/smgr.h b/src/include/storage/smgr.h
index 8f7cc98a97d..c6dbd08550b 100644
--- a/src/include/storage/smgr.h
+++ b/src/include/storage/smgr.h
@@ -6,15 +6,16 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: smgr.h,v 1.1 1996/08/28 01:58:32 scrappy Exp $
+ * $Id: smgr.h,v 1.2 1996/11/05 06:11:07 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef SMGR_H
 #define SMGR_H
 
-#include "utils/rel.h"
-#include "storage/spin.h"	/* for SPINLOCK */
+#include <storage/spin.h>
+#include <storage/block.h>
+#include <utils/rel.h>
 
 #define SM_FAIL		0
 #define	SM_SUCCESS	1
diff --git a/src/include/storage/spin.h b/src/include/storage/spin.h
index b7c98463ae2..9e45bd78819 100644
--- a/src/include/storage/spin.h
+++ b/src/include/storage/spin.h
@@ -6,14 +6,14 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: spin.h,v 1.1 1996/08/28 01:58:33 scrappy Exp $
+ * $Id: spin.h,v 1.2 1996/11/05 06:11:08 scrappy Exp $
  *
  *-------------------------------------------------------------------------
  */
 #ifndef	SPIN_H
 #define SPIN_H
 
-#include "ipc.h"
+#include <storage/ipc.h>
 
 /* 
  * two implementations of spin locks
-- 
GitLab