<machine/stdarg.h>: Make <stdarg.h> compatible with ports compilers.
authorzrj <rimvydas.jasinskas@gmail.com>
Tue, 8 Dec 2020 10:31:50 +0000 (10:31 +0000)
committerzrj <rimvydas.jasinskas@gmail.com>
Sat, 12 Dec 2020 09:11:17 +0000 (11:11 +0200)
commit73eb2aa9e6720de3c24e3b05b5e4606a14d2aa67
tree68768a771b1917fc6ecd722779f9f5265efddca3
parentccaa5e8cfbd927acf5b4db9336ea373d7fe49c1c
<machine/stdarg.h>: Make <stdarg.h> compatible with ports compilers.

 We are now building with -Wsystem-headers for c++ and compilers provide
 their own <stdarg.h> versions containing legacy compatibility
 __va_copy() definition that was used in the draft proposal.
 Treat it as reserved name.  Only kernel code should use <sys/stdarg.h>
sys/cpu/x86_64/include/stdarg.h
sys/sys/stdarg.h