Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Mar 2012 19:18:46 +0100
From:      Andreas Tobler <andreast@FreeBSD.org>
To:        David Chisnall <theraven@FreeBSD.org>
Cc:        svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org
Subject:   Re: svn commit: r232929 - head/include/xlocale
Message-ID:  <4F5F8F86.1060500@FreeBSD.org>
In-Reply-To: <201203131732.q2DHWtQ7054890@svn.freebsd.org>
References:  <201203131732.q2DHWtQ7054890@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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));





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F5F8F86.1060500>