From 44e36af42bde0f212f7a1c10653d9f7b1a00bdb3 Mon Sep 17 00:00:00 2001 From: Geoffrey Keating Date: Wed, 30 Aug 2000 18:30:16 +0000 Subject: * libc/string/swab.c: Specify that it's defined in . * libc/include/string.h: Don't include , as it causes really bad namespace pollution. Don't declare swab(), it is properly declared in unistd.h. --- newlib/libc/include/string.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'newlib/libc/include/string.h') diff --git a/newlib/libc/include/string.h b/newlib/libc/include/string.h index 7d5bd45af..e85dac33e 100644 --- a/newlib/libc/include/string.h +++ b/newlib/libc/include/string.h @@ -13,7 +13,6 @@ extern "C" { #include "_ansi.h" #include -#include #define __need_size_t #include @@ -72,7 +71,6 @@ const char *_EXFUN(strsignal, (int __signo)); #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 -- cgit v1.2.3