artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fc0cdd
)
Protect against multiple inclusion.
author
millert
<millert@openbsd.org>
Thu, 27 Feb 1997 00:57:11 +0000
(
00:57
+0000)
committer
millert
<millert@openbsd.org>
Thu, 27 Feb 1997 00:57:11 +0000
(
00:57
+0000)
include/mpool.h
patch
|
blob
|
history
sys/sys/errno.h
patch
|
blob
|
history
diff --git
a/include/mpool.h
b/include/mpool.h
index
622d2c9
..
9897742
100644
(file)
--- 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
e983562
..
e726a1d
100644
(file)
--- 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 deraad
t Exp $ */
+/* $OpenBSD: errno.h,v 1.
6 1997/02/27 01:00:54 miller
t 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