summaryrefslogtreecommitdiffstats
path: root/include/setjmp.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix namespace issues by using visibility conditionals frommike2002-10-051-13/+13
| | | | <sys/cdefs.h>. Sort function prototypes.
* Breath deep and take __P out of the system include files.imp2002-03-231-7/+8
| | | | | | # This appears to not break X11, but I'm having problems compiling the # glide part of the server with or without this patch, so I can't tell # for sure.
* Suggested by: bdejb1998-01-201-11/+0
| | | | | | | | | | Move sigjmp_buf and jmp_buf structure definitions to machine/setjmp.h so that i386 can continue to use int as the basic register type and alpha can use long. Bruce was concerned about possible differing alignment. I've left the definition of _JBLEN in machine/setjmp.h even though Bruce's example used the number directly. I don't know if any other code relies on _JBLEN, so I left it to avoid potential breakage.
* Move _JBLEN definition to <machine/setjmp.h> like on NetBSD. Removejb1998-01-111-25/+4
| | | | | | | | | | | | definitions for architectures that we don't have libc MD source for. Change 'int' to 'long' in sigjmp_buf and jmp_buf structures so that they are suitable for the register size on both i386 and alpha. Although FreeBSD defines these structures differently to NetBSD, the element size is now the same. If Bruce doesn't like this [8-)], we'll need to add a typedef to each <machine/setjmp.h> and use that in <setjmp.h>.
* Don't use __dead or __pure in user code. They were obfuscationsbde1996-09-141-3/+0
| | | | | | for gcc >= 2.5 and no-ops for gcc >= 2.6. Converted to use __dead2 or __pure2 where it wasn't already done, except in math.h where use of __pure was mostly wrong.
* Delete `vax' (and `i386' and `hp300' etc.) namespace pollution.wollman1994-10-301-6/+6
| | | | | | | Our one supported compiler always defines the double-underscore variant, so always use that. Noticed by Bruce Evans after a report by John Capo.
* Improve error detection and handling:bde1994-10-251-11/+13
| | | | | | | | | Reduce _JBLEN for the i386 to what is actually used. Encapsulate jmp_buf and sigjmp_buf in structs. Enlarge jmp_buf to the same size as sigjmp_buf. Declare *longjmp as non-returning. Remove stale comments about sig*jmp not being implemented.
* BSD 4.4 Lite Include Sourcesrgrimes1994-05-241-0/+98
OpenPOWER on IntegriCloud