diff options
author | mike <mike@FreeBSD.org> | 2002-10-04 22:10:06 +0000 |
---|---|---|
committer | mike <mike@FreeBSD.org> | 2002-10-04 22:10:06 +0000 |
commit | c9d55a4efc04afdb6fc4279b71a0a924a4d65a2b (patch) | |
tree | 2efcd012ad77b2cd7cd881803c9aca16963160bf /sys/alpha/include/setjmp.h | |
parent | cf479e35164c9b972e937e94c67035dbaf674b9c (diff) | |
download | FreeBSD-src-c9d55a4efc04afdb6fc4279b71a0a924a4d65a2b.zip FreeBSD-src-c9d55a4efc04afdb6fc4279b71a0a924a4d65a2b.tar.gz |
style(9) <machine/setjmp.h> headers so they look mostly the same.
Diffstat (limited to 'sys/alpha/include/setjmp.h')
-rw-r--r-- | sys/alpha/include/setjmp.h | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/sys/alpha/include/setjmp.h b/sys/alpha/include/setjmp.h index 3cc52dc..d808f97 100644 --- a/sys/alpha/include/setjmp.h +++ b/sys/alpha/include/setjmp.h @@ -1,7 +1,4 @@ -/* $FreeBSD$ */ -/* From: NetBSD: setjmp.h,v 1.2 1997/04/06 08:47:41 cgd Exp */ - -/* +/*- * Copyright (c) 1994, 1995 Carnegie-Mellon University. * All rights reserved. * @@ -26,13 +23,19 @@ * * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. + * + * $NetBSD: setjmp.h,v 1.2 1997/04/06 08:47:41 cgd Exp $ + * $FreeBSD$ */ /* * machine/setjmp.h: machine dependent setjmp-related information. */ -#define _JBLEN 81 /* size, in longs, of a jmp_buf */ +#ifndef _MACHINE_SETJMP_H_ +#define _MACHINE_SETJMP_H_ + +#define _JBLEN 81 /* Size, in longs, of a jmp_buf. */ /* * jmp_buf and sigjmp_buf are encapsulated in different structs to force @@ -40,7 +43,9 @@ * internally to avoid some run-time errors for mismatches. */ #ifndef _ANSI_SOURCE -typedef struct _sigjmp_buf { long _sjb[_JBLEN + 1]; } sigjmp_buf[1]; -#endif /* not ANSI */ +typedef struct _sigjmp_buf { long _sjb[_JBLEN + 1]; } sigjmp_buf[1]; +#endif + +typedef struct _jmp_buf { long _jb[_JBLEN + 1]; } jmp_buf[1]; -typedef struct _jmp_buf { long _jb[_JBLEN + 1]; } jmp_buf[1]; +#endif /* !_MACHINE_SETJMP_H_ */ |