summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authormike <mike@FreeBSD.org>2002-10-04 22:10:06 +0000
committermike <mike@FreeBSD.org>2002-10-04 22:10:06 +0000
commitc9d55a4efc04afdb6fc4279b71a0a924a4d65a2b (patch)
tree2efcd012ad77b2cd7cd881803c9aca16963160bf /sys/i386
parentcf479e35164c9b972e937e94c67035dbaf674b9c (diff)
downloadFreeBSD-src-c9d55a4efc04afdb6fc4279b71a0a924a4d65a2b.zip
FreeBSD-src-c9d55a4efc04afdb6fc4279b71a0a924a4d65a2b.tar.gz
style(9) <machine/setjmp.h> headers so they look mostly the same.
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/include/setjmp.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/sys/i386/include/setjmp.h b/sys/i386/include/setjmp.h
index a311d83..092545f 100644
--- a/sys/i386/include/setjmp.h
+++ b/sys/i386/include/setjmp.h
@@ -1,5 +1,4 @@
-/* $FreeBSD$ */
-/*
+/*-
* Copyright (c) 1998 John Birrell <jb@cimlogic.com.au>.
* All rights reserved.
*
@@ -30,8 +29,12 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
+ * $FreeBSD$
*/
+#ifndef _MACHINE_SETJMP_H_
+#define _MACHINE_SETJMP_H_
+
#define _JBLEN 11 /* Size of the jmp_buf on x86. */
/*
@@ -40,7 +43,9 @@
* internally to avoid some run-time errors for mismatches.
*/
#ifndef _ANSI_SOURCE
-typedef struct _sigjmp_buf { int _sjb[_JBLEN + 1]; } sigjmp_buf[1];
-#endif /* not ANSI */
+typedef struct _sigjmp_buf { int _sjb[_JBLEN + 1]; } sigjmp_buf[1];
+#endif
+
+typedef struct _jmp_buf { int _jb[_JBLEN + 1]; } jmp_buf[1];
-typedef struct _jmp_buf { int _jb[_JBLEN + 1]; } jmp_buf[1];
+#endif /* !_MACHINE_SETJMP_H_ */
OpenPOWER on IntegriCloud