summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-01-18 13:39:30 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-01-18 13:39:30 +0000
commitd92ff3ead36831cc589acee9c97cfa0acae34255 (patch)
tree9154592b3ab5e3d5aa79d8f1a5cf75b476936147 /sys
parent1b919998ee142df1e74a445c5c93f5f1a7b5ee81 (diff)
protect from multiple includes (required by gpl_math_emulate)
Diffstat (limited to 'sys')
-rw-r--r--sys/lib/libkern/libkern.h7
-rw-r--r--sys/sys/systm.h6
2 files changed, 11 insertions, 2 deletions
diff --git a/sys/lib/libkern/libkern.h b/sys/lib/libkern/libkern.h
index 1ff96e94724..ca270a217ee 100644
--- a/sys/lib/libkern/libkern.h
+++ b/sys/lib/libkern/libkern.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: libkern.h,v 1.7 1996/12/06 12:21:06 niklas Exp $ */
+/* $OpenBSD: libkern.h,v 1.8 1997/01/18 13:39:29 mickey Exp $ */
/* $NetBSD: libkern.h,v 1.7 1996/03/14 18:52:08 christos Exp $ */
/*-
@@ -36,6 +36,9 @@
* @(#)libkern.h 8.1 (Berkeley) 6/10/93
*/
+#ifndef __LIBKERN_H__
+#define __LIBKERN_H__
+
#include <sys/types.h>
#ifndef LIBKERN_INLINE
@@ -131,3 +134,5 @@ int strncasecmp __P((const char *, const char *, size_t));
int getsn __P((char *, int));
void MD5Init __P((u_int32_t[4]));
void MD5Transform __P((u_int32_t[4], u_int32_t const [16]));
+
+#endif /* __LIBKERN_H__ */
diff --git a/sys/sys/systm.h b/sys/sys/systm.h
index e377cf8fd35..4743fac2ad4 100644
--- a/sys/sys/systm.h
+++ b/sys/sys/systm.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: systm.h,v 1.18 1997/01/14 02:25:20 kstailey Exp $ */
+/* $OpenBSD: systm.h,v 1.19 1997/01/18 13:39:28 mickey Exp $ */
/* $NetBSD: systm.h,v 1.50 1996/06/09 04:55:09 briggs Exp $ */
/*-
@@ -41,6 +41,9 @@
* @(#)systm.h 8.4 (Berkeley) 2/23/94
*/
+#ifndef __SYSTM_H__
+#define __SYSTM_H__
+
#include <machine/stdarg.h>
/*
@@ -248,3 +251,4 @@ int read_symtab_from_file __P((struct proc *,struct vnode *,const char *));
void user_config __P((void));
#endif
+#endif /* __SYSTM_H__ */