]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
libc: tag the Rune initialization function prototypes visibility as hidden.
authorPedro F. Giffuni <pfg@FreeBSD.org>
Tue, 19 Jul 2016 20:22:13 +0000 (20:22 +0000)
committerPedro F. Giffuni <pfg@FreeBSD.org>
Tue, 19 Jul 2016 20:22:13 +0000 (20:22 +0000)
commit5c4d28f5dcc202bef97451926bae0f0250b405ba
tree7fb634e6b4135d857e4c3fda1ab057507a6e5a0a
parent8395cdc1086017af525ef60cd94bdb1336c76b88
libc: tag the Rune initialization function prototypes visibility as hidden.

It is good practice to export as few symbols as possible from your shared
libraries, so use the GCC visibility attribute in this case, matching what
Apple's libc does.

Reference:
https://developer.apple.com/library/mac/documentation/DeveloperTools/Conceptual/CppRuntimeEnv/Articles/SymbolVisibility.html

Hinted by: Apple's libc 1082.20.4
MFC after: 1 week
lib/libc/locale/mblocal.h