From 69ca1f989c5d2543def1b7f25d7493018cd919c6 Mon Sep 17 00:00:00 2001 From: millert Date: Thu, 27 Feb 1997 00:57:11 +0000 Subject: [PATCH] Protect against multiple inclusion. --- include/mpool.h | 5 +++++ sys/sys/errno.h | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) 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 /* @@ -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 -- 2.20.1