Author: pfg
Date: Sat Dec 31 15:30:00 2016
New Revision: 310976
URL: https://svnweb.freebsd.org/changeset/base/310976

Log:
  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.
  
  MFC after:    5 days

Modified:
  head/lib/libc/locale/mblocal.h

Modified: head/lib/libc/locale/mblocal.h
==============================================================================
--- head/lib/libc/locale/mblocal.h      Sat Dec 31 13:23:28 2016        
(r310975)
+++ head/lib/libc/locale/mblocal.h      Sat Dec 31 15:30:00 2016        
(r310976)
@@ -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);
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to