diff options
author | bde <bde@FreeBSD.org> | 2000-10-06 11:53:32 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2000-10-06 11:53:32 +0000 |
commit | 3a35c5bf34fb7ff01772bbd323759e49526afada (patch) | |
tree | ac73574261f2cede1ef28487dadc66a7bfb51aa7 /sys/i386 | |
parent | 85918e53b0062cd0b90407fe8e9ecda432dd5504 (diff) | |
download | FreeBSD-src-3a35c5bf34fb7ff01772bbd323759e49526afada.zip FreeBSD-src-3a35c5bf34fb7ff01772bbd323759e49526afada.tar.gz |
Work around a bug by adding struct tags. gcc-2.95 apparently gets the
check in the [basic.link] section of the C++ standard wrong. gcc-2.7.2.3
apparently doesn't do the check, so the bug doesn't affect RELENG_3.
PR: 16170, 21427
Submitted by: Max Khon <fjoe@lark.websci.ru> (i386 version)
Discussed with: jdp
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/include/setjmp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/include/setjmp.h b/sys/i386/include/setjmp.h index 3097df7..a311d83 100644 --- a/sys/i386/include/setjmp.h +++ b/sys/i386/include/setjmp.h @@ -40,7 +40,7 @@ * internally to avoid some run-time errors for mismatches. */ #ifndef _ANSI_SOURCE -typedef struct { int _sjb[_JBLEN + 1]; } sigjmp_buf[1]; +typedef struct _sigjmp_buf { int _sjb[_JBLEN + 1]; } sigjmp_buf[1]; #endif /* not ANSI */ -typedef struct { int _jb[_JBLEN + 1]; } jmp_buf[1]; +typedef struct _jmp_buf { int _jb[_JBLEN + 1]; } jmp_buf[1]; |