Function incorrectly named

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@270 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2007-06-07 00:20:35 +00:00
parent c574123ca4
commit a48fe435f8

View File

@ -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++);