Okay, following Bryan's (and others) suggestions...cleaning up the

include files properly...yet, slowly...
This commit is contained in:
Marc G. Fournier 1996-11-01 09:31:17 +00:00
parent f44acab12c
commit 3516eda61c
9 changed files with 24 additions and 24 deletions

View File

@ -7,14 +7,14 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: strat.h,v 1.2 1996/10/19 04:05:44 scrappy Exp $
* $Id: strat.h,v 1.3 1996/11/01 09:30:41 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef STRAT_H
#define STRAT_H
#include "access/skey.h"
#include "access/skey.h"
typedef uint16 StrategyNumber;

View File

@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: transam.h,v 1.2 1996/10/23 07:41:31 scrappy Exp $
* $Id: transam.h,v 1.3 1996/11/01 09:30:42 scrappy Exp $
*
* NOTES
* Transaction System Version 101 now support proper oid
@ -17,9 +17,8 @@
#ifndef TRANSAM_H
#define TRANSAM_H
#include "utils/nabstime.h"
#include "utils/rel.h"
#include "storage/bufmgr.h"
#include "utils/nabstime.h"
/* ----------------
* transaction system version id

View File

@ -7,7 +7,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: pg_class.h,v 1.2 1996/10/31 09:47:21 scrappy Exp $
* $Id: pg_class.h,v 1.3 1996/11/01 09:30:46 scrappy Exp $
*
* NOTES
* ``pg_relation'' is being replaced by ``pg_class''. currently
@ -29,7 +29,6 @@
* can be read by both genbki.sh and the C compiler.
* ----------------
*/
#include "utils/nabstime.h"
/* ----------------
* pg_class definition. cpp turns this into

View File

@ -5,14 +5,15 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: prs2lock.h,v 1.2 1996/10/19 04:25:53 scrappy Exp $
* $Id: prs2lock.h,v 1.3 1996/11/01 09:30:54 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef PRS2LOCK_H
#define PRS2LOCK_H
#include "nodes/nodes.h"
#include "access/attnum.h"
#include "nodes/pg_list.h"
/*
* RewriteRule -

View File

@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: bufmgr.h,v 1.4 1996/10/26 04:15:05 scrappy Exp $
* $Id: bufmgr.h,v 1.5 1996/11/01 09:31:05 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
@ -18,6 +18,7 @@
#include "storage/ipc.h"
#include "storage/buf.h"
#include "utils/rel.h"
#include "storage/block.h"
/*
* the maximum size of a disk block for any possible installation.

View File

@ -6,18 +6,18 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: bufpage.h,v 1.5 1996/10/23 07:42:07 scrappy Exp $
* $Id: bufpage.h,v 1.6 1996/11/01 09:31:09 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef BUFPAGE_H
#define BUFPAGE_H
#include "storage/itemid.h"
#include "storage/item.h"
#include "storage/buf.h"
#include "storage/off.h"
#include "storage/page.h"
#include "storage/off.h"
#include "storage/buf.h"
#include "storage/itemid.h"
/*
* a postgres disk page is an abstraction layered on top of a postgres

View File

@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: fd.h,v 1.2 1996/10/31 09:49:45 scrappy Exp $
* $Id: fd.h,v 1.3 1996/11/01 09:31:10 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
@ -53,8 +53,6 @@
#endif /* SEEK_SET */
#endif /* WIN32 */
#include "storage/block.h"
typedef char *FileName;
typedef int File;

View File

@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: ipc.h,v 1.7 1996/11/01 03:36:16 momjian Exp $
* $Id: ipc.h,v 1.8 1996/11/01 09:31:12 scrappy Exp $
*
* NOTES
* This file is very architecture-specific. This stuff should actually
@ -21,6 +21,8 @@
#define _IPC_
#endif
#include <sys/types.h>
/*
* Many architectures have support for user-level spinlocks (i.e., an
* atomic test-and-set instruction). However, we have only written

View File

@ -6,19 +6,19 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: rel.h,v 1.4 1996/10/24 07:55:54 scrappy Exp $
* $Id: rel.h,v 1.5 1996/11/01 09:31:17 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef REL_H
#define REL_H
#include "access/tupdesc.h"
#include "storage/fd.h"
#include "catalog/pg_am.h"
#include "catalog/pg_class.h"
#include "rewrite/prs2lock.h"
#include "access/strat.h"
#include "rewrite/prs2lock.h"
#include "access/tupdesc.h"
#include "catalog/pg_class.h"
#include "catalog/pg_am.h"
#include "storage/fd.h"
typedef struct RelationData {
File rd_fd; /* open file descriptor */