aboutsummaryrefslogtreecommitdiff
path: root/sys/amd64/include/stdarg.h
Commit message (Collapse)AuthorAgeFilesLines
* Copy amd64 stdarg.h to x86 and replace amd64/i386/pc98 stdarg.h with stubs.Tijl Coosemans2012-02-281-72/+3
| | | | Notes: svn path=/head/; revision=232276
* Use __builtin_va_start instead of __builtin_stdarg_start. GCC4 obsoletesAlexander Kabaev2006-09-211-1/+1
| | | | | | | | the former and __builtin_va_start was present in all GCC version 3.1 and later. Notes: svn path=/head/; revision=162487
* Remove diffs to i386 version that came in via the compiler support ifdefs.Peter Wemm2005-03-111-1/+2
| | | | | | | | This changes things like whitespace, inconsistent use of #ifndef vs #if !defined(), different macro argument orders, mismatched comments, etc. Notes: svn path=/head/; revision=143434
* netchild's mega-patch to isolate compiler dependencies into a centralJoerg Wunsch2005-03-021-1/+3
| | | | | | | | | | | | | | | | | | | place. This moves the dependency on GCC's and other compiler's features into the central sys/cdefs.h file, while the individual source files can then refer to #ifdef __COMPILER_FEATURE_FOO where they by now used to refer to #if __GNUC__ > 3.1415 && __BARC__ <= 42. By now, GCC and ICC (the Intel compiler) have been actively tested on IA32 platforms by netchild. Extension to other compilers is supposed to be possible, of course. Submitted by: netchild Reviewed by: various developers on arch@, some time ago Notes: svn path=/head/; revision=143063
* Add __va_copy and make it always visible, in spite of the __ISO_C_VISIBLEPeter Wemm2003-10-241-1/+4
| | | | | | | | | | | | setting. Make va_copy be an alias if __ISO_C_VISIBLE >= 1999. Why? more than a few ports have an autoconf that looks for __va_copy because it is available on glibc. It is critical that we use it if at all possible on amd64. It generally isn't a problem for i386 and its ilk because autoconf driven code tends to fall back to an assignment. Notes: svn path=/head/; revision=121450
* Provide a fake varargs implementation for lint's benefit. This wayPeter Wemm2003-05-101-0/+13
| | | | | | | | | it can see the intent of the va_* macros, even though it cannot work. Approved by: re (blanket amd64/*) Notes: svn path=/head/; revision=114870
* o Add conditionals to allow va_list to be defined in other headers.Mike Barcroft2002-10-061-0/+6
| | | | | | | | o Standardize on _MACHINE_STDARG_H_ to allow multiple header includes. o Restrict the definition of va_copy() to C99 environments. Notes: svn path=/head/; revision=104583
* Implement C99's va_copy() macro.Mike Barcroft2002-09-181-0/+3
| | | | Notes: svn path=/head/; revision=103526
* o Merge <machine/ansi.h> and <machine/types.h> into a new headerMike Barcroft2002-08-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | called <machine/_types.h>. o <machine/ansi.h> will continue to live so it can define MD clock macros, which are only MD because of gratuitous differences between architectures. o Change all headers to make use of this. This mainly involves changing: #ifdef _BSD_FOO_T_ typedef _BSD_FOO_T_ foo_t; #undef _BSD_FOO_T_ #endif to: #ifndef _FOO_T_DECLARED typedef __foo_t foo_t; #define _FOO_T_DECLARED #endif Concept by: bde Reviewed by: jake, obrien Notes: svn path=/head/; revision=102227
* Gcc 3.1 varargs support.David E. O'Brien2002-06-301-0/+47
Notes: svn path=/head/; revision=99122