git: <sys/cdefs.h>: Make CTASSERT() kernel only (again).

Sascha Wildner swildner at crater.dragonflybsd.org
Sat Apr 5 00:44:05 PDT 2014


commit 85325fa509ab6e21e3ba8f8099422ea9e10a462d
Author: Sascha Wildner <saw at online.de>
Date:   Sat Apr 5 09:43:33 2014 +0200

    <sys/cdefs.h>: Make CTASSERT() kernel only (again).
    
    When I moved it from <sys/systm.h> to <sys/cdefs.h> to have it near
    _Static_assert's definition, I overlooked that <sys/systm.h> is a
    kernel-only header.
    
    Since there are ports which define their own CTASSERT (such as openjdk),
    make ours kernel-only again.
    
    Reported-by: marino

Summary of changes:
 sys/sys/cdefs.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/85325fa509ab6e21e3ba8f8099422ea9e10a462d


-- 
DragonFly BSD source repository



More information about the Commits mailing list