Deleted Added
full compact
setjmp.h (99731) setjmp.h (104493)
1/* $FreeBSD: head/sys/powerpc/include/setjmp.h 99731 2002-07-10 12:26:17Z benno $ */
2/* $NetBSD: setjmp.h,v 1.3 1998/09/16 23:51:27 thorpej Exp $ */
1/*-
2 * $NetBSD: setjmp.h,v 1.3 1998/09/16 23:51:27 thorpej Exp $
3 * $FreeBSD: head/sys/powerpc/include/setjmp.h 104493 2002-10-04 22:10:06Z mike $
4 */
3
5
4#ifndef _MACHINE_SETJMP_H_
5#define _MACHINE_SETJMP_H_
6#ifndef _MACHINE_SETJMP_H_
7#define _MACHINE_SETJMP_H_
6
7#define _JBLEN 100
8
9/*
10 * jmp_buf and sigjmp_buf are encapsulated in different structs to force
11 * compile-time diagnostics for mismatches. The structs are the same
12 * internally to avoid some run-time errors for mismatches.
13 */
14#ifndef _ANSI_SOURCE
8
9#define _JBLEN 100
10
11/*
12 * jmp_buf and sigjmp_buf are encapsulated in different structs to force
13 * compile-time diagnostics for mismatches. The structs are the same
14 * internally to avoid some run-time errors for mismatches.
15 */
16#ifndef _ANSI_SOURCE
15typedef struct _sigjmp_buf { long _sjb[_JBLEN + 1]; } sigjmp_buf[1];
17typedef struct _sigjmp_buf { long _sjb[_JBLEN + 1]; } sigjmp_buf[1];
16#endif
17
18#endif
19
18typedef struct _jmp_buf { long _jb[_JBLEN + 1]; } jmp_buf[1];
20typedef struct _jmp_buf { long _jb[_JBLEN + 1]; } jmp_buf[1];
19
21
20#endif /* _MACHINE_SETJMP_H_ */
22#endif /* !_MACHINE_SETJMP_H_ */