diff options
| author | mbalmer <mbalmer@NetBSD.org> | 2013-10-16 19:44:57 +0000 |
|---|---|---|
| committer | mbalmer <mbalmer@NetBSD.org> | 2013-10-16 19:44:57 +0000 |
| commit | e0fe45ce9c35c204a7c19d5a5291ca64b47b2452 (patch) | |
| tree | e871dc37f16f51aff76180bb26119b0ced6630a4 /sys/modules/lua/string.h | |
| parent | a1bd524499a4e93e3f6f934dc1e6f644595e0a89 (diff) | |
welcome lua(4), a devide driver that can create and control Lua states inside the kernel
Diffstat (limited to 'sys/modules/lua/string.h')
| -rw-r--r-- | sys/modules/lua/string.h | 21 |
1 files changed, 21 insertions, 0 deletions
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 <sys/param.h> + +#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 + |
