DragonFly BSD
DragonFly commits List (threaded) for 2012-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: DragonFly_RELEASE_3_0 cdefs: Rework and augment visibility attributes


From: John Marino <marino@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 5 Feb 2012 08:51:13 -0800 (PST)

commit bac3c6349f25de315ae41c036e5dd310d23e6482
Author: John Marino <draco@marino.st>
Date:   Sun Feb 5 17:14:25 2012 +0100

    cdefs: Rework and augment visibility attributes
    
    One macro based on GCC visibility functions was already defined,
    __exported.  However, it was marked as available for all GCC versions
    when it fact it was introduced with gcc 4.0.
    
    There was no macro for hidden visibility attributes, so the macros
    __dso_hidden and __dso_public were borrowed from NetBSD.  __dso_public
    is an alias for __exported.  The definition for all three macros were
    made on the condition that the gcc version used is 4.0 or later.

Summary of changes:
 sys/sys/cdefs.h |   16 ++++++++++------
 1 files changed, 10 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/bac3c6349f25de315ae41c036e5dd310d23e6482


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]