diff options
| author | Mike Barcroft <mike@FreeBSD.org> | 2002-10-04 22:10:06 +0000 |
|---|---|---|
| committer | Mike Barcroft <mike@FreeBSD.org> | 2002-10-04 22:10:06 +0000 |
| commit | 085f8416a2fb9584722984e2a2afd9450d559df4 (patch) | |
| tree | 2efcd012ad77b2cd7cd881803c9aca16963160bf /sys/alpha | |
| parent | ddb4fb5b4456fd60b65d4cfd671ad987aa5a8547 (diff) | |
Notes
Diffstat (limited to 'sys/alpha')
| -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 3cc52dc626e5..d808f9783ff7 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_ */ |
