From 239ea497276194c63adb5ad27fb907d4adb781f6 Mon Sep 17 00:00:00 2001 From: ceriel Date: Mon, 30 Jul 1990 14:17:30 +0000 Subject: [PATCH] protect types.h against multiple inclusions --- include/_tail_cc/sys/types.h | 6 ++++++ include/_tail_mon/sys/types.h | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/include/_tail_cc/sys/types.h b/include/_tail_cc/sys/types.h index 02a4a93a..ed79833a 100644 --- a/include/_tail_cc/sys/types.h +++ b/include/_tail_cc/sys/types.h @@ -3,6 +3,10 @@ * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. * See the copyright notice in the ACK home directory, in the file "Copyright". */ + +#ifndef __TYPES_H__ +#define __TYPES_H__ + /* * Basic system types and major/minor device constructing/busting macros. */ @@ -43,3 +47,5 @@ typedef unsigned char uchar_t; typedef short cnt_t; typedef long paddr_t; typedef long key_t; + +#endif /* __TYPES_H__ */ diff --git a/include/_tail_mon/sys/types.h b/include/_tail_mon/sys/types.h index 02a4a93a..ed79833a 100644 --- a/include/_tail_mon/sys/types.h +++ b/include/_tail_mon/sys/types.h @@ -3,6 +3,10 @@ * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. * See the copyright notice in the ACK home directory, in the file "Copyright". */ + +#ifndef __TYPES_H__ +#define __TYPES_H__ + /* * Basic system types and major/minor device constructing/busting macros. */ @@ -43,3 +47,5 @@ typedef unsigned char uchar_t; typedef short cnt_t; typedef long paddr_t; typedef long key_t; + +#endif /* __TYPES_H__ */