git: Add the <stdalign.h> header for C11 conformance.

Sascha Wildner swildner at crater.dragonflybsd.org
Wed Apr 30 02:39:22 PDT 2014


commit 787c358097ac8d11c406faee6f876ddc72d5e0f2
Author: Sascha Wildner <saw at online.de>
Date:   Mon Apr 21 16:08:47 2014 +0200

    Add the <stdalign.h> header for C11 conformance.
    
    Per clause 7.15 from the final draft.
    
    Along with it, add some helper macros to <sys/cdefs.h>.
    
    While here, adjust an #ifdef in <sys/cdefs.h>.
    
    Taken-from: FreeBSD

Summary of changes:
 include/Makefile                 |  2 +-
 include/{stdarg.h => stdalign.h} | 32 +++++++++++++++-----------------
 sys/sys/cdefs.h                  | 28 ++++++++++++++++++++++++++--
 3 files changed, 42 insertions(+), 20 deletions(-)
 copy include/{stdarg.h => stdalign.h} (73%)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/787c358097ac8d11c406faee6f876ddc72d5e0f2


-- 
DragonFly BSD source repository


More information about the Commits mailing list