summaryrefslogtreecommitdiff
path: root/apps/plugins/lua
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/lua')
-rw-r--r--apps/plugins/lua/strcspn.c1
-rw-r--r--apps/plugins/lua/strpbrk.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugins/lua/strcspn.c b/apps/plugins/lua/strcspn.c
index 7af6f693eb..0a19eaebf2 100644
--- a/apps/plugins/lua/strcspn.c
+++ b/apps/plugins/lua/strcspn.c
@@ -1,5 +1,6 @@
1#include "rocklibc.h" 1#include "rocklibc.h"
2 2
3#undef strcspn
3size_t strcspn(const char *s, const char *reject) 4size_t strcspn(const char *s, const char *reject)
4{ 5{
5 size_t l=0; 6 size_t l=0;
diff --git a/apps/plugins/lua/strpbrk.c b/apps/plugins/lua/strpbrk.c
index f416f391ae..1e0491f779 100644
--- a/apps/plugins/lua/strpbrk.c
+++ b/apps/plugins/lua/strpbrk.c
@@ -1,5 +1,6 @@
1#include "rocklibc.h" 1#include "rocklibc.h"
2 2
3#undef strpbrk
3char *strpbrk(const char *s, const char *accept) { 4char *strpbrk(const char *s, const char *accept) {
4 register int i,l=strlen(accept); 5 register int i,l=strlen(accept);
5 for (; *s; s++) 6 for (; *s; s++)