diff options
author | Manuel Novoa III <mjn3@codepoet.org> | 2001-03-19 21:33:48 +0000 |
---|---|---|
committer | Manuel Novoa III <mjn3@codepoet.org> | 2001-03-19 21:33:48 +0000 |
commit | fb1124fe102109fe336937a78b0072f4e6a206c0 (patch) | |
tree | 402498d94a8086c2b72794016ac59ca9d6a2b499 /libc/string/strcspn.c | |
parent | bb84a07a88222a21afddbf16c31d9d8b15fdda7c (diff) |
Put weak symbols where they can find what they are aliasing. Clean up strcspn.c
Diffstat (limited to 'libc/string/strcspn.c')
-rw-r--r-- | libc/string/strcspn.c | 15 |
1 files changed, 1 insertions, 14 deletions
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 <config.h> -#endif - -#if defined _LIBC || HAVE_STRING_H -# include <string.h> -#else -# include <strings.h> -# ifndef strchr -# define strchr index -# endif -#endif - -#undef strcspn +#include <string.h> /* Return the length of the maximum initial segment of S which contains no characters from REJECT. */ |