protect types.h against multiple inclusions

This commit is contained in:
ceriel 1990-07-30 14:17:30 +00:00
parent f3209123e0
commit aae0eeca94
2 changed files with 12 additions and 0 deletions

View file

@ -3,6 +3,10 @@
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
* See the copyright notice in the ACK home directory, in the file "Copyright". * 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. * Basic system types and major/minor device constructing/busting macros.
*/ */
@ -43,3 +47,5 @@ typedef unsigned char uchar_t;
typedef short cnt_t; typedef short cnt_t;
typedef long paddr_t; typedef long paddr_t;
typedef long key_t; typedef long key_t;
#endif /* __TYPES_H__ */

View file

@ -3,6 +3,10 @@
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands. * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
* See the copyright notice in the ACK home directory, in the file "Copyright". * 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. * Basic system types and major/minor device constructing/busting macros.
*/ */
@ -43,3 +47,5 @@ typedef unsigned char uchar_t;
typedef short cnt_t; typedef short cnt_t;
typedef long paddr_t; typedef long paddr_t;
typedef long key_t; typedef long key_t;
#endif /* __TYPES_H__ */