X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/ad3c9f2af814c84582fdd1649e49ec4f68572c5a..974e388456677d82eb6d10d4fd72390641a5bdfe:/locale/FreeBSD/mblocal.h diff --git a/locale/FreeBSD/mblocal.h b/locale/FreeBSD/mblocal.h index f5d3fc1..8029a70 100644 --- a/locale/FreeBSD/mblocal.h +++ b/locale/FreeBSD/mblocal.h @@ -34,26 +34,26 @@ /* * Rune initialization function prototypes. */ -__private_extern__ int _none_init(struct __xlocale_st_runelocale *); -__private_extern__ int _ascii_init(struct __xlocale_st_runelocale *); -__private_extern__ int _UTF2_init(struct __xlocale_st_runelocale *); -__private_extern__ int _UTF8_init(struct __xlocale_st_runelocale *); -__private_extern__ int _EUC_init(struct __xlocale_st_runelocale *); -__private_extern__ int _GB18030_init(struct __xlocale_st_runelocale *); -__private_extern__ int _GB2312_init(struct __xlocale_st_runelocale *); -__private_extern__ int _GBK_init(struct __xlocale_st_runelocale *); -__private_extern__ int _BIG5_init(struct __xlocale_st_runelocale *); -__private_extern__ int _MSKanji_init(struct __xlocale_st_runelocale *); +__attribute__((visibility("hidden"))) int _none_init(struct __xlocale_st_runelocale *); +__attribute__((visibility("hidden"))) int _ascii_init(struct __xlocale_st_runelocale *); +__attribute__((visibility("hidden"))) int _UTF2_init(struct __xlocale_st_runelocale *); +__attribute__((visibility("hidden"))) int _UTF8_init(struct __xlocale_st_runelocale *); +__attribute__((visibility("hidden"))) int _EUC_init(struct __xlocale_st_runelocale *); +__attribute__((visibility("hidden"))) int _GB18030_init(struct __xlocale_st_runelocale *); +__attribute__((visibility("hidden"))) int _GB2312_init(struct __xlocale_st_runelocale *); +__attribute__((visibility("hidden"))) int _GBK_init(struct __xlocale_st_runelocale *); +__attribute__((visibility("hidden"))) int _BIG5_init(struct __xlocale_st_runelocale *); +__attribute__((visibility("hidden"))) int _MSKanji_init(struct __xlocale_st_runelocale *); -__private_extern__ size_t _none_mbrtowc(wchar_t * __restrict, const char * __restrict, +__attribute__((visibility("hidden"))) size_t _none_mbrtowc(wchar_t * __restrict, const char * __restrict, size_t, mbstate_t * __restrict, locale_t); -__private_extern__ int _none_mbsinit(const mbstate_t *, locale_t); -__private_extern__ size_t _none_mbsnrtowcs(wchar_t * __restrict dst, +__attribute__((visibility("hidden"))) int _none_mbsinit(const mbstate_t *, locale_t); +__attribute__((visibility("hidden"))) size_t _none_mbsnrtowcs(wchar_t * __restrict dst, const char ** __restrict src, size_t nms, size_t len, mbstate_t * __restrict ps __unused, locale_t); -__private_extern__ size_t _none_wcrtomb(char * __restrict, wchar_t, +__attribute__((visibility("hidden"))) size_t _none_wcrtomb(char * __restrict, wchar_t, mbstate_t * __restrict, locale_t); -__private_extern__ size_t _none_wcsnrtombs(char * __restrict, const wchar_t ** __restrict, +__attribute__((visibility("hidden"))) size_t _none_wcsnrtombs(char * __restrict, const wchar_t ** __restrict, size_t, size_t, mbstate_t * __restrict, locale_t); extern size_t __mbsnrtowcs_std(wchar_t * __restrict, const char ** __restrict,