From bfd0179042b0b02fb88748d54e56e7e208bb117f Mon Sep 17 00:00:00 2001 From: Marcin Bukat Date: Wed, 2 Apr 2014 20:46:06 +0200 Subject: Revert "Update lua plugin to 5.2.3" FILE typedef to *void needs more work to not break sim and application builds. I checked only a few random native builds unfortunately. Sorry for inconvenience. --- apps/plugins/lua/strspn.c | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 apps/plugins/lua/strspn.c (limited to 'apps/plugins/lua/strspn.c') diff --git a/apps/plugins/lua/strspn.c b/apps/plugins/lua/strspn.c deleted file mode 100644 index e95500a..0000000 --- a/apps/plugins/lua/strspn.c +++ /dev/null @@ -1,19 +0,0 @@ -#include "rocklibc.h" - -#undef strspn - -size_t strspn(const char *s, const char *accept) -{ - size_t count; - for (count = 0; *s != 0; s++, count++) { - const char *ac; - for (ac = accept; *ac != 0; ac++) { - if (*ac == *s) - break; - } - if (*ac == 0) /* no acceptable char found */ - break; - } - return count; -} - -- cgit v1.1