summaryrefslogtreecommitdiffstats
path: root/include/setjmp.h
Commit message (Collapse)AuthorAgeFilesLines
* include: Remove checks for __BSD_VISIBLE where redundant with __XSI_VISIBLEjilles2014-05-111-2/+2
| | | | | | | | | or __POSIX_VISIBLE. Whenever <sys/cdefs.h> sets __BSD_VISIBLE to non-zero, it also sets __POSIX_VISIBLE and __XSI_VISIBLE to the newest version supported. No functional change is intended.
* Add a convenience macro for the returns_twice attribute, and apply it todim2012-04-291-3/+3
| | | | | | | the prototypes of the appropriate functions (getcontext, savectx, setjmp, sigsetjmp and vfork). MFC after: 2 weeks
* Remove the Berkeley clause 3's.imp2010-02-161-5/+1
| | | | Add a few $FreeBSD$
* Namespace: _setjmp() and _longjmp() are XSI extensions.das2009-03-141-1/+1
|
* 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