From: mickey Date: Sat, 18 Jan 1997 13:39:28 +0000 (+0000) Subject: protect from multiple includes (required by gpl_math_emulate) X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=61441e17241e31b1afd2f50ccc98587abe98ff47;p=openbsd protect from multiple includes (required by gpl_math_emulate) --- 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 #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 /* @@ -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__ */