Implementation of swab()

J. Johnston jjohnstn@cygnus.com
Wed Mar 8 14:17:00 GMT 2000


"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.


More information about the Newlib mailing list