summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2013-03-24 17:42:43 +0000
committerderaadt <deraadt@openbsd.org>2013-03-24 17:42:43 +0000
commit91157de0df3cf028fe882e89d69b1a522b375d1b (patch)
treea8f1ca7d62a28039ebb0608b381fd39b168b15a6
parentUse ieee80211_set_tim() directly now that it is available. (diff)
downloadwireguard-openbsd-91157de0df3cf028fe882e89d69b1a522b375d1b.tar.xz
wireguard-openbsd-91157de0df3cf028fe882e89d69b1a522b375d1b.zip
label some nested #endif's
-rw-r--r--sys/sys/buf.h4
-rw-r--r--sys/sys/reboot.h4
-rw-r--r--sys/sys/wait.h6
3 files changed, 6 insertions, 8 deletions
diff --git a/sys/sys/buf.h b/sys/sys/buf.h
index 3f8c6221105..efb0dc5899a 100644
--- a/sys/sys/buf.h
+++ b/sys/sys/buf.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: buf.h,v 1.83 2013/01/18 08:52:04 beck Exp $ */
+/* $OpenBSD: buf.h,v 1.84 2013/03/24 17:42:43 deraadt Exp $ */
/* $NetBSD: buf.h,v 1.25 1997/04/09 21:12:17 mycroft Exp $ */
/*
@@ -387,5 +387,5 @@ buf_countdeps(struct buf *bp, int i, int islocked)
void cluster_write(struct buf *, struct cluster_info *, u_quad_t);
__END_DECLS
-#endif
+#endif /* _KERNEL */
#endif /* !_SYS_BUF_H_ */
diff --git a/sys/sys/reboot.h b/sys/sys/reboot.h
index 2385035731d..34f383c533d 100644
--- a/sys/sys/reboot.h
+++ b/sys/sys/reboot.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: reboot.h,v 1.13 2004/03/10 23:02:53 tom Exp $ */
+/* $OpenBSD: reboot.h,v 1.14 2013/03/24 17:42:43 deraadt Exp $ */
/* $NetBSD: reboot.h,v 1.9 1996/04/22 01:23:25 christos Exp $ */
/*
@@ -93,10 +93,8 @@
#if defined(_KERNEL) && !defined(_STANDALONE) && !defined(_LOCORE)
__BEGIN_DECLS
-
void boot(int)
__attribute__((__noreturn__));
-
__END_DECLS
#endif /* _KERNEL */
diff --git a/sys/sys/wait.h b/sys/sys/wait.h
index 92ac596cdc7..c5eb9dc75d8 100644
--- a/sys/sys/wait.h
+++ b/sys/sys/wait.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: wait.h,v 1.14 2006/04/27 02:17:21 tedu Exp $ */
+/* $OpenBSD: wait.h,v 1.15 2013/03/24 17:42:43 deraadt Exp $ */
/* $NetBSD: wait.h,v 1.11 1996/04/09 20:55:51 cgd Exp $ */
/*
@@ -158,8 +158,8 @@ pid_t waitpid(pid_t, int *, int);
#if __BSD_VISIBLE
pid_t wait3(int *, int, struct rusage *);
pid_t wait4(pid_t, int *, int, struct rusage *);
-#endif
+#endif /* __BSD_VISIBLE */
__END_DECLS
-#endif
+#endif /* !_KERNEL */
#endif /* !_SYS_WAIT_H_ */