diff options
| author | William Wilgus <me.theuser@yahoo.com> | 2018-10-28 13:21:42 -0400 |
|---|---|---|
| committer | William Wilgus <me.theuser@yahoo.com> | 2018-10-30 04:17:06 +0100 |
| commit | cc0a4c632aeda82ab4517355b4b4489190da013e (patch) | |
| tree | 49d40380d8a48c5b374a2bd63b53a73c443bf2e3 /apps/plugins/lua/strcspn.c | |
| parent | df8233e4abbd0d626158abc5388957cc28b06c50 (diff) | |
| download | rockbox-cc0a4c632aeda82ab4517355b4b4489190da013e.zip rockbox-cc0a4c632aeda82ab4517355b4b4489190da013e.tar.gz rockbox-cc0a4c632aeda82ab4517355b4b4489190da013e.tar.bz2 rockbox-cc0a4c632aeda82ab4517355b4b4489190da013e.tar.xz | |
Lua remove strncat.c & strcspn.c
Change-Id: I08256f31e733d2674054e8e589d539d1396a0ee6
Diffstat (limited to 'apps/plugins/lua/strcspn.c')
| -rw-r--r-- | apps/plugins/lua/strcspn.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/apps/plugins/lua/strcspn.c b/apps/plugins/lua/strcspn.c deleted file mode 100644 index 0a19eae..0000000 --- a/apps/plugins/lua/strcspn.c +++ /dev/null @@ -1,17 +0,0 @@ -#include "rocklibc.h" - -#undef strcspn -size_t strcspn(const char *s, const char *reject) -{ - size_t l=0; - int a=1,i,al=strlen(reject); - - while((a)&&(*s)) - { - for(i=0;(a)&&(i<al);i++) - if (*s==reject[i]) a=0; - if (a) l++; - s++; - } - return l; -} |