History log of /openbsd-current/sys/sys/stdarg.h
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.10 21-Jul-2020 daniel

The "unsupported compiler" checks were added back in December when
MD versions of these headers were unhooked. As nothing has hit those
checks we can drop them at this point.

ok visa@ and "makes sense" to millert@


Revision tags: OPENBSD_6_7_BASE
# 1.9 12-Dec-2019 visa

Unhook <machine/stdarg.h> from <sys/stdarg.h>. Nowadays all the
compilers that OpenBSD provides have builtins for vararg routines
and use the machine-independent definitions in <sys/stdarg.h>.

Input from miod@
OK millert@


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.8 02-Mar-2011 matthew

Change va_arg and va_end definitions from object-like macros to
function-like macros. Allows (questionable but legal) use of "va_arg"
as a local variable name in code that includes <stdarg.h>.

"seems right" deraadt@


Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE
# 1.7 17-Sep-2009 jsg

Use __builtin_va_start instead of __builtin_stdarg_start
for va_start() which was only present for backwards compat
and has been removed from recent versions of GCC.

Our in tree GCC 3.3.5 has __builtin_va_start and this
section of code is only run if __GNUC__ >= 3 already.

ok espie@ kettenis@ millert@ miod@


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.6 21-Dec-2008 ragge

Teach the header files not to bail out if pcc is used instead of gcc.
Ok deraadt@.


# 1.5 23-Oct-2008 kettenis

Move the va_copy define to <sys/stdrag.h> making sure it is uniformaly
protected by __ISO_C_VISIBLE > 1999. With a little help from miod@.

ok miod@


Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.4 06-Jan-2006 millert

Adapt things to use __type_t instead of _BSD_TYPE_T_
Add new sys/_types.h header
Include machine/_types.h or sys/_types.h where applicable


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE SMP_SYNC_A SMP_SYNC_B
# 1.3 26-Feb-2004 drahn

add __va_copy(), follow (old) ISO C 89 behavior, used by gnu software.
ok espie@ millert@ deraadt@


# 1.2 03-Jan-2004 espie

branches: 1.2.2;
switch to shorter licence at millert@ suggestion.


# 1.1 03-Jan-2004 espie

put an mi wrapper around stdarg.h/varargs.h. gcc3 moved stdarg/varargs macros
to built-ins, so eventually we will have one version of these files.
Special adjustments for the kernel to cope: machine/stdarg.h -> sys/stdarg.h
and machine/ansi.h needs to have a _BSD_VA_LIST_ for syslog* prototypes.
okay millert@, drahn@, miod@.


# 1.9 12-Dec-2019 visa

Unhook <machine/stdarg.h> from <sys/stdarg.h>. Nowadays all the
compilers that OpenBSD provides have builtins for vararg routines
and use the machine-independent definitions in <sys/stdarg.h>.

Input from miod@
OK millert@


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE
# 1.8 02-Mar-2011 matthew

Change va_arg and va_end definitions from object-like macros to
function-like macros. Allows (questionable but legal) use of "va_arg"
as a local variable name in code that includes <stdarg.h>.

"seems right" deraadt@


Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE
# 1.7 17-Sep-2009 jsg

Use __builtin_va_start instead of __builtin_stdarg_start
for va_start() which was only present for backwards compat
and has been removed from recent versions of GCC.

Our in tree GCC 3.3.5 has __builtin_va_start and this
section of code is only run if __GNUC__ >= 3 already.

ok espie@ kettenis@ millert@ miod@


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.6 21-Dec-2008 ragge

Teach the header files not to bail out if pcc is used instead of gcc.
Ok deraadt@.


# 1.5 23-Oct-2008 kettenis

Move the va_copy define to <sys/stdrag.h> making sure it is uniformaly
protected by __ISO_C_VISIBLE > 1999. With a little help from miod@.

ok miod@


Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.4 06-Jan-2006 millert

Adapt things to use __type_t instead of _BSD_TYPE_T_
Add new sys/_types.h header
Include machine/_types.h or sys/_types.h where applicable


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE SMP_SYNC_A SMP_SYNC_B
# 1.3 26-Feb-2004 drahn

add __va_copy(), follow (old) ISO C 89 behavior, used by gnu software.
ok espie@ millert@ deraadt@


# 1.2 03-Jan-2004 espie

branches: 1.2.2;
switch to shorter licence at millert@ suggestion.


# 1.1 03-Jan-2004 espie

put an mi wrapper around stdarg.h/varargs.h. gcc3 moved stdarg/varargs macros
to built-ins, so eventually we will have one version of these files.
Special adjustments for the kernel to cope: machine/stdarg.h -> sys/stdarg.h
and machine/ansi.h needs to have a _BSD_VA_LIST_ for syslog* prototypes.
okay millert@, drahn@, miod@.


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.8 02-Mar-2011 matthew

Change va_arg and va_end definitions from object-like macros to
function-like macros. Allows (questionable but legal) use of "va_arg"
as a local variable name in code that includes <stdarg.h>.

"seems right" deraadt@


Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE
# 1.7 17-Sep-2009 jsg

Use __builtin_va_start instead of __builtin_stdarg_start
for va_start() which was only present for backwards compat
and has been removed from recent versions of GCC.

Our in tree GCC 3.3.5 has __builtin_va_start and this
section of code is only run if __GNUC__ >= 3 already.

ok espie@ kettenis@ millert@ miod@


Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE
# 1.6 21-Dec-2008 ragge

Teach the header files not to bail out if pcc is used instead of gcc.
Ok deraadt@.


# 1.5 23-Oct-2008 kettenis

Move the va_copy define to <sys/stdrag.h> making sure it is uniformaly
protected by __ISO_C_VISIBLE > 1999. With a little help from miod@.

ok miod@


Revision tags: OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
# 1.4 06-Jan-2006 millert

Adapt things to use __type_t instead of _BSD_TYPE_T_
Add new sys/_types.h header
Include machine/_types.h or sys/_types.h where applicable


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE OPENBSD_3_8_BASE SMP_SYNC_A SMP_SYNC_B
# 1.3 26-Feb-2004 drahn

add __va_copy(), follow (old) ISO C 89 behavior, used by gnu software.
ok espie@ millert@ deraadt@


# 1.2 03-Jan-2004 espie

branches: 1.2.2;
switch to shorter licence at millert@ suggestion.


# 1.1 03-Jan-2004 espie

put an mi wrapper around stdarg.h/varargs.h. gcc3 moved stdarg/varargs macros
to built-ins, so eventually we will have one version of these files.
Special adjustments for the kernel to cope: machine/stdarg.h -> sys/stdarg.h
and machine/ansi.h needs to have a _BSD_VA_LIST_ for syslog* prototypes.
okay millert@, drahn@, miod@.