From fb1124fe102109fe336937a78b0072f4e6a206c0 Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Mon, 19 Mar 2001 21:33:48 +0000 Subject: Put weak symbols where they can find what they are aliasing. Clean up strcspn.c --- libc/string/strcspn.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'libc/string/strcspn.c') diff --git a/libc/string/strcspn.c b/libc/string/strcspn.c index d30195db1..b383b559a 100644 --- a/libc/string/strcspn.c +++ b/libc/string/strcspn.c @@ -16,20 +16,7 @@ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#if HAVE_CONFIG_H -# include -#endif - -#if defined _LIBC || HAVE_STRING_H -# include -#else -# include -# ifndef strchr -# define strchr index -# endif -#endif - -#undef strcspn +#include /* Return the length of the maximum initial segment of S which contains no characters from REJECT. */ -- cgit v1.2.3