DragonFlyBSD/src 60db860 — include stdarg.h, sys/sys stdarg.h
Make va_*() macros available to the kernel in <sys/stdarg.h>. Previously, the kernel was restricted to __va_*() only but I can't see any real reason to do that and it also forces stuff like ACPICA and drm to use workarounds. Those will be cleaned up in subsequent commits. For now, I've used <sys/stdarg.h>, because everything resolves to __builtin_va*() in the end. If we ever need more machine specific definitions, it has to be moved to <machine/stdarg.h>.
Delta | File | |
---|---|---|
+47 | -0 | sys/sys/stdarg.h |
+2 | -19 | include/stdarg.h |
+49 | -19 | 2 files |