summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-06-07 00:20:35 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-06-07 00:20:35 +0000
commit8127bd124b736a94346a480b03da480b72ccfc29 (patch)
tree28856ff4662b3d48a3a2ffa713cb249a35eaf465
parent78718fd10db84486f270f1b36dde64efe043ae78 (diff)
downloadnuttx-8127bd124b736a94346a480b03da480b72ccfc29.tar.gz
nuttx-8127bd124b736a94346a480b03da480b72ccfc29.tar.bz2
nuttx-8127bd124b736a94346a480b03da480b72ccfc29.zip
Function incorrectly named
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@270 42af7a65-404d-4744-a932-0658087f49c3
-rw-r--r--nuttx/lib/lib_strcspn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/lib/lib_strcspn.c b/nuttx/lib/lib_strcspn.c
index 92a60fc0b..1c18eb122 100644
--- a/nuttx/lib/lib_strcspn.c
+++ b/nuttx/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++);