From: Jordan K. Hubbard Date: Fri, 30 Jul 1993 10:52:02 +0000 (+0000) Subject: Now have very necessary include safety checks X-Git-Tag: FreeBSD-release/1.1~2207 X-Git-Url: https://git.subgeniuskitty.com/unix-history/.git/commitdiff_plain/fea210d0a70baa8ab8dee4609818ad40f5c63913 Now have very necessary include safety checks --- diff --git a/sys/sys/rlist.h b/sys/sys/rlist.h index bd468b1516..0db798ec90 100644 --- a/sys/sys/rlist.h +++ b/sys/sys/rlist.h @@ -14,7 +14,7 @@ * Usage: * rlist_free(&swapmap, 100, 200); add space to swapmap * rlist_alloc(&swapmap, 100, &loc); obtain 100 sectors from swap - * $Header: /usr/bill/working/sys/sys/RCS/rlist.h,v 1.2 92/01/21 21:23:48 william Exp $ + * $Header: /a/cvs/386BSD/src/sys.386bsd/sys/rlist.h,v 1.1.1.1 1993/06/12 14:58:17 rgrimes Exp $ */ /* A resource list element. */ diff --git a/sys/sys/stat.h b/sys/sys/stat.h index 52948f38e5..57aeeea07d 100644 --- a/sys/sys/stat.h +++ b/sys/sys/stat.h @@ -33,6 +33,9 @@ * @(#)stat.h 7.11 (Berkeley) 3/3/91 */ +#ifndef _SYS_STAT_H_ +#define _SYS_STAT_H_ + struct stat { dev_t st_dev; /* inode's device */ @@ -126,3 +129,4 @@ int lstat __P((const char *, struct stat *)); #endif /* not POSIX */ __END_DECLS #endif +#endif diff --git a/sys/sys/tty.h b/sys/sys/tty.h index 1c6cddd148..b3a0bb260e 100644 --- a/sys/sys/tty.h +++ b/sys/sys/tty.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)tty.h 7.10 (Berkeley) 6/26/91 - * $Header: /usr/bill/working/sys/sys/RCS/tty.h,v 1.3 92/01/21 21:51:49 william Exp $ + * $Header: /a/cvs/386BSD/src/sys.386bsd/sys/tty.h,v 1.1.1.1 1993/06/12 14:58:17 rgrimes Exp $ * * PATCHES MAGIC LEVEL PATCH THAT GOT US HERE * -------------------- ----- ---------------------- diff --git a/sys/sys/wait.h b/sys/sys/wait.h index de3a50d6f6..c439d80abd 100644 --- a/sys/sys/wait.h +++ b/sys/sys/wait.h @@ -33,6 +33,9 @@ * @(#)wait.h 7.17 (Berkeley) 6/19/91 */ +#ifndef _SYS_WAIT_H_ +#define _SYS_WAIT_H_ + /* * This file holds definitions relevent to the wait4 system call * and the alternate interfaces that use it (wait, wait3, waitpid). @@ -156,3 +159,4 @@ pid_t wait4 __P((pid_t, int *, int, struct rusage *)); #endif __END_DECLS #endif +#endif