protect types.h against multiple inclusions
This commit is contained in:
parent
f3209123e0
commit
aae0eeca94
2 changed files with 12 additions and 0 deletions
|
@ -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__ */
|
||||||
|
|
|
@ -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__ */
|
||||||
|
|
Loading…
Reference in a new issue