* libc/include/string.h: Don't include <sys/types.h>,
as it causes really bad namespace pollution. Don't declare
swab(), it is properly declared in unistd.h.
+2000-08-30 Geoffrey Keating <geoffk@cygnus.com>
+
+ * libc/string/swab.c: Specify that it's defined in <unistd.h>.
+ * libc/include/string.h: Don't include <sys/types.h>,
+ as it causes really bad namespace pollution. Don't declare
+ swab(), it is properly declared in unistd.h.
+
2000-08-29 Werner Almesberger <Werner.Almesberger@epfl.ch>
* libc/unix/getpwent.c (getpwnam, getpwuid, getpwent): removed
#include "_ansi.h"
#include <sys/reent.h>
-#include <sys/types.h>
#define __need_size_t
#include <stddef.h>
#endif
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
<<swab>>---swap adjacent bytes
ANSI_SYNOPSIS
- #include <string.h>
+ #include <unistd.h>
void swab(const void *<[in]>, void *<[out]>, ssize_t <[n]>);
TRAD_SYNOPSIS