aboutsummaryrefslogtreecommitdiffstats
path: root/include/setjmp.h
Commit message (Collapse)AuthorAgeFilesLines
* include: further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-201-0/+2
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 3-Clause license. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point. Notes: svn path=/head/; revision=326024
* include: Remove checks for __BSD_VISIBLE where redundant with __XSI_VISIBLEJilles Tjoelker2014-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. Notes: svn path=/head/; revision=265878
* Add a convenience macro for the returns_twice attribute, and apply it toDimitry Andric2012-04-291-3/+3
| | | | | | | | | | the prototypes of the appropriate functions (getcontext, savectx, setjmp, sigsetjmp and vfork). MFC after: 2 weeks Notes: svn path=/head/; revision=234785
* Remove the Berkeley clause 3's.Warner Losh2010-02-161-5/+1
| | | | | | | Add a few $FreeBSD$ Notes: svn path=/head/; revision=203964
* Namespace: _setjmp() and _longjmp() are XSI extensions.David Schultz2009-03-141-1/+1
| | | | Notes: svn path=/head/; revision=189807
* Fix namespace issues by using visibility conditionals fromMike Barcroft2002-10-051-13/+13
| | | | | | | <sys/cdefs.h>. Sort function prototypes. Notes: svn path=/head/; revision=104506
* Breath deep and take __P out of the system include files.Warner Losh2002-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. Notes: svn path=/head/; revision=93032
* Suggested by: bdeJohn Birrell1998-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. Notes: svn path=/head/; revision=32641
* Move _JBLEN definition to <machine/setjmp.h> like on NetBSD. RemoveJohn Birrell1998-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>. Notes: svn path=/head/; revision=32419
* Don't use __dead or __pure in user code. They were obfuscationsBruce Evans1996-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. Notes: svn path=/head/; revision=18286
* Delete `vax' (and `i386' and `hp300' etc.) namespace pollution.Garrett 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. Notes: svn path=/head/; revision=3999
* Improve error detection and handling:Bruce Evans1994-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. Notes: svn path=/head/; revision=3852
* BSD 4.4 Lite Include SourcesRodney W. Grimes1994-05-241-0/+98
Notes: svn path=/head/; revision=1539