This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [PATCH] Fwd: [1.7] Remove the overhead of calling function _jp2uc
- From: Corinna Vinschen <vinschen at redhat dot com>
- To: newlib at sourceware dot org
- Date: Tue, 2 Jun 2009 11:41:37 +0200
- Subject: Re: [PATCH] Fwd: [1.7] Remove the overhead of calling function _jp2uc
- References: <3f0ad08d0905150657s4033e61ex198d22e10074ad9e@mail.gmail.com> <3f0ad08d0905150835m1d77244br22b02f3ba86cd4ef@mail.gmail.com>
- Reply-to: newlib at sourceware dot org
On May 16 00:35, IWAMURO Motonori wrote:
> > From: IWAMURO Motonori
> > Hi.
> >
> > I propose to remove the overhead of calling function _jp2uc.
>
>
> * libc/ctype/jp2uc.c: Skip all definition if defined __CYGWIN__.
> (__jp2uc): Change the scope to static function.
> * libc/ctype/local.h (_jp2uc): Define as macro if defined __CYGWIN__.
> * libc/string/local.h (_jp2uc): Define as macro if defined __CYGWIN__.
Since that only affects Cygwin, I applied this patch with Craig's
suggestion.
Thanks,
Corinna
--
Corinna Vinschen
Cygwin Project Co-Leader
Red Hat