summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorpfg <pfg@FreeBSD.org>2017-01-05 01:27:53 +0000
committerpfg <pfg@FreeBSD.org>2017-01-05 01:27:53 +0000
commit940f4f6a0f99fc1b68f891f638297161f27de9f7 (patch)
tree8ccaf79d870410776b5376f0fbbb5d3b3d311a42 /lib
parentc9f775f7e4375c9595f7950d9f5764c545050c25 (diff)
downloadFreeBSD-src-940f4f6a0f99fc1b68f891f638297161f27de9f7.zip
FreeBSD-src-940f4f6a0f99fc1b68f891f638297161f27de9f7.tar.gz
MFC r310976:
Move __hidden attribute towards the end of the declaration. Apple had them at the start but moving them to the end is better for faster reading and fits better what is done in other FreeBSD headers.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/locale/mblocal.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/libc/locale/mblocal.h b/lib/libc/locale/mblocal.h
index c4724b5..acb1c21 100644
--- a/lib/libc/locale/mblocal.h
+++ b/lib/libc/locale/mblocal.h
@@ -65,18 +65,18 @@ extern struct xlocale_ctype __xlocale_global_ctype;
/*
* Rune initialization function prototypes.
*/
-__hidden int _none_init(struct xlocale_ctype *, _RuneLocale *);
-__hidden int _ascii_init(struct xlocale_ctype *, _RuneLocale *);
-__hidden int _UTF8_init(struct xlocale_ctype *, _RuneLocale *);
-__hidden int _EUC_CN_init(struct xlocale_ctype *, _RuneLocale *);
-__hidden int _EUC_JP_init(struct xlocale_ctype *, _RuneLocale *);
-__hidden int _EUC_KR_init(struct xlocale_ctype *, _RuneLocale *);
-__hidden int _EUC_TW_init(struct xlocale_ctype *, _RuneLocale *);
-__hidden int _GB18030_init(struct xlocale_ctype *, _RuneLocale *);
-__hidden int _GB2312_init(struct xlocale_ctype *, _RuneLocale *);
-__hidden int _GBK_init(struct xlocale_ctype *, _RuneLocale *);
-__hidden int _BIG5_init(struct xlocale_ctype *, _RuneLocale *);
-__hidden int _MSKanji_init(struct xlocale_ctype *, _RuneLocale *);
+int _none_init(struct xlocale_ctype *, _RuneLocale *) __hidden;
+int _UTF8_init(struct xlocale_ctype *, _RuneLocale *) __hidden;
+int _EUC_CN_init(struct xlocale_ctype *, _RuneLocale *) __hidden;
+int _EUC_JP_init(struct xlocale_ctype *, _RuneLocale *) __hidden;
+int _EUC_KR_init(struct xlocale_ctype *, _RuneLocale *) __hidden;
+int _EUC_TW_init(struct xlocale_ctype *, _RuneLocale *) __hidden;
+int _GB18030_init(struct xlocale_ctype *, _RuneLocale *) __hidden;
+int _GB2312_init(struct xlocale_ctype *, _RuneLocale *) __hidden;
+int _GBK_init(struct xlocale_ctype *, _RuneLocale *) __hidden;
+int _BIG5_init(struct xlocale_ctype *, _RuneLocale *) __hidden;
+int _MSKanji_init(struct xlocale_ctype *, _RuneLocale *) __hidden;
+int _ascii_init(struct xlocale_ctype *, _RuneLocale *) __hidden;
typedef size_t (*mbrtowc_pfn_t)(wchar_t * __restrict,
const char * __restrict, size_t, mbstate_t * __restrict);
OpenPOWER on IntegriCloud