This is the mail archive of the
newlib@sourceware.cygnus.com
mailing list for the newlib project.
Re: Implementation of swab()
- To: "Andrew E. Mileski" <andrewm at netwinder dot org>
- Subject: Re: Implementation of swab()
- From: "J. Johnston" <jjohnstn at cygnus dot com>
- Date: Wed, 08 Mar 2000 17:17:07 -0500
- CC: newlib mailing list <newlib at sourceware dot cygnus dot com>
- Organization: Cygnus Solutions
- References: <or4sai86qc.fsf@garnize.lsd.ic.unicamp.br> <38C6C5A0.575E7569@netwinder.org>
"Andrew E. Mileski" wrote:
>
> Alexandre Oliva wrote:
> > Index: newlib/libc/include/string.h
> > ===================================================================
> > RCS file: /cvs/cvsfiles/devo/newlib/libc/include/string.h,v
> > retrieving revision 1.20
> > diff -u -r1.20 string.h
> > --- newlib/libc/include/string.h 2000/01/11 00:20:58 1.20
> > +++ newlib/libc/include/string.h 2000/03/04 06:54:40
> > @@ -69,6 +69,7 @@
> > char *_EXFUN(strsignal, (int __signo));
> > int _EXFUN(strtosigno, (const char *__name));
> > #endif
> > +void _EXFUN(swab,(const void *, void *, ssize_t));
> >
> > /* These function names are used on Windows and perhaps other systems. */
> > #ifndef strcmpi
>
> Umm, "ssize_t"?
>
> --
> Andrew E. Mileski - Software Engineer
> REBEL.COM http://www.rebel.com/
That should be size_t. Patch has been made.
-- Jeff J.