From e0fe45ce9c35c204a7c19d5a5291ca64b47b2452 Mon Sep 17 00:00:00 2001 From: mbalmer Date: Wed, 16 Oct 2013 19:44:57 +0000 Subject: welcome lua(4), a devide driver that can create and control Lua states inside the kernel --- sys/modules/lua/string.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 sys/modules/lua/string.h (limited to 'sys/modules/lua/string.h') diff --git a/sys/modules/lua/string.h b/sys/modules/lua/string.h new file mode 100644 index 00000000000..f54ade99316 --- /dev/null +++ b/sys/modules/lua/string.h @@ -0,0 +1,21 @@ +/* $NetBSD */ + +/* + * This file is a placeholder only, to allow Lua to be compiled from + * unchanged sources. + */ + +#include + +#ifndef _LUA_INCLUDE_STRING_ +#define _LUA_INCLUDE_STRING_ + +#define strcoll strcmp + +char *strncat(char *dst, const char *src, size_t n); +size_t strspn(const char *s, const char *charset); +size_t strcspn(const char *s, const char *charset); +char *strpbrk(const char *s, const char *charset); + +#endif + -- cgit