From a48fe435f85f3ec78905db438ae0eea4b4440b1b Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 7 Jun 2007 00:20:35 +0000 Subject: [PATCH] Function incorrectly named git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@270 42af7a65-404d-4744-a932-0658087f49c3 --- lib/lib_strcspn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/lib_strcspn.c b/lib/lib_strcspn.c index 92a60fc0b0..1c18eb1223 100644 --- a/lib/lib_strcspn.c +++ b/lib/lib_strcspn.c @@ -58,7 +58,7 @@ * ****************************************************************************/ -size_t strspn(const char *s, const char *reject) +size_t strcspn(const char *s, const char *reject) { size_t i; for (i = 0; s[i] && strchr(reject, s[i]) == NULL; i++);