svn commit: r311344 - stable/11/lib/libc/locale
Pedro F. Giffuni
pfg at FreeBSD.org
Thu Jan 5 01:27:54 UTC 2017
Author: pfg
Date: Thu Jan 5 01:27:53 2017
New Revision: 311344
URL: https://svnweb.freebsd.org/changeset/base/311344
Log:
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.
Modified:
stable/11/lib/libc/locale/mblocal.h
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/lib/libc/locale/mblocal.h
==============================================================================
--- stable/11/lib/libc/locale/mblocal.h Thu Jan 5 00:59:53 2017 (r311343)
+++ stable/11/lib/libc/locale/mblocal.h Thu Jan 5 01:27:53 2017 (r311344)
@@ -65,18 +65,18 @@ extern struct xlocale_ctype __xlocale_gl
/*
* 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);
More information about the svn-src-stable-11
mailing list