svn commit: r232929 - head/include/xlocale
Andreas Tobler
andreast at FreeBSD.org
Tue Mar 13 18:33:10 UTC 2012
On 13.03.12 18:32, David Chisnall wrote:
> Author: theraven
> Date: Tue Mar 13 17:32:55 2012
> New Revision: 232929
> URL: http://svn.freebsd.org/changeset/base/232929
>
> Log:
> Fix the other missing prototypes.
>
> Approved by: dim (mentor)
>
> Modified:
> head/include/xlocale/_ctype.h
>
> Modified: head/include/xlocale/_ctype.h
> ==============================================================================
> --- head/include/xlocale/_ctype.h Tue Mar 13 16:42:39 2012 (r232928)
> +++ head/include/xlocale/_ctype.h Tue Mar 13 17:32:55 2012 (r232929)
> @@ -69,6 +69,11 @@ _RuneLocale *__runes_for_locale(locale_t
>
> #ifdef _XLOCALE_WCTYPES
> _XLOCALE_INLINE int
> +__maskrune_l(__ct_rune_t __c, unsigned long __f, locale_t __loc);
> +_XLOCALE_INLINE __inline int
Duplicate inline.
> +__istype_l(__ct_rune_t __c, unsigned long __f, locale_t __loc);
> +
> +_XLOCALE_INLINE int
> __maskrune_l(__ct_rune_t __c, unsigned long __f, locale_t __loc)
> {
> int __limit;
Around line 85 too.
I build with the below diff now.
Gruss,
Andreas
Index: _ctype.h
===================================================================
--- _ctype.h (revision 232929)
+++ _ctype.h (working copy)
@@ -70,7 +70,7 @@
#ifdef _XLOCALE_WCTYPES
_XLOCALE_INLINE int
__maskrune_l(__ct_rune_t __c, unsigned long __f, locale_t __loc);
-_XLOCALE_INLINE __inline int
+_XLOCALE_INLINE int
__istype_l(__ct_rune_t __c, unsigned long __f, locale_t __loc);
_XLOCALE_INLINE int
@@ -82,7 +82,7 @@
runes->__runetype[__c] & __f;
}
-_XLOCALE_INLINE __inline int
+_XLOCALE_INLINE int
__istype_l(__ct_rune_t __c, unsigned long __f, locale_t __loc)
{
return (!!__maskrune_l(__c, __f, __loc));
More information about the svn-src-all
mailing list