git: Make va_*() macros available to the kernel in <sys/stdarg.h>.

Sascha Wildner swildner at crater.dragonflybsd.org
Wed Jul 10 13:16:24 PDT 2019


commit 60db86015abb82e6a26b310abacab4f871958d35
Author: Sascha Wildner <saw at online.de>
Date:   Wed Jul 10 20:41:14 2019 +0200

    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>.

Summary of changes:
 include/stdarg.h              | 21 ++-------------------
 {include => sys/sys}/stdarg.h | 11 ++++-------
 2 files changed, 6 insertions(+), 26 deletions(-)
 copy {include => sys/sys}/stdarg.h (90%)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/60db86015abb82e6a26b310abacab4f871958d35


-- 
DragonFly BSD source repository



More information about the Commits mailing list