diff options
author | 1997-02-27 00:57:11 +0000 | |
---|---|---|
committer | 1997-02-27 00:57:11 +0000 | |
commit | 69ca1f989c5d2543def1b7f25d7493018cd919c6 (patch) | |
tree | 1e2107d1ac5722eee994f6bb318001f37180ee65 | |
parent | Added commentary on how to enable mac68k serial console and a sample (diff) | |
download | wireguard-openbsd-69ca1f989c5d2543def1b7f25d7493018cd919c6.tar.xz wireguard-openbsd-69ca1f989c5d2543def1b7f25d7493018cd919c6.zip |
Protect against multiple inclusion.
-rw-r--r-- | include/mpool.h | 5 | ||||
-rw-r--r-- | sys/sys/errno.h | 7 |
2 files changed, 11 insertions, 1 deletions
diff --git a/include/mpool.h b/include/mpool.h index 622d2c9a377..9897742583a 100644 --- a/include/mpool.h +++ b/include/mpool.h @@ -35,6 +35,9 @@ * @(#)mpool.h 8.2 (Berkeley) 7/14/94 */ +#ifndef _MPOOL_H_ +#define _MPOOL_H_ + #include <sys/queue.h> /* @@ -99,3 +102,5 @@ int mpool_close __P((MPOOL *)); void mpool_stat __P((MPOOL *)); #endif __END_DECLS + +#endif diff --git a/sys/sys/errno.h b/sys/sys/errno.h index e9835629029..e726a1d3f27 100644 --- a/sys/sys/errno.h +++ b/sys/sys/errno.h @@ -1,4 +1,4 @@ -/* $OpenBSD: errno.h,v 1.5 1996/07/26 10:34:28 deraadt Exp $ */ +/* $OpenBSD: errno.h,v 1.6 1997/02/27 01:00:54 millert Exp $ */ /* $NetBSD: errno.h,v 1.10 1996/01/20 01:33:53 jtc Exp $ */ /* @@ -41,6 +41,9 @@ * @(#)errno.h 8.5 (Berkeley) 1/21/94 */ +#ifndef _SYS_ERRNO_H_ +#define _SYS_ERRNO_H_ + #ifndef _KERNEL extern int errno; /* global error number */ @@ -171,3 +174,5 @@ extern char *sys_errlist[]; #define ERESTART -1 /* restart syscall */ #define EJUSTRETURN -2 /* don't modify regs, just return */ #endif + +#endif |