From 88025f3d16d9747609cfb738dce762ba194719cc Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Wed, 12 Nov 2008 15:08:12 +0100 Subject: [PATCH] luaa: remove useless luaA_getopt_string() Signed-off-by: Julien Danjou --- luaa.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/luaa.h b/luaa.h index 4e7df3c1a..0d61fd3a5 100644 --- a/luaa.h +++ b/luaa.h @@ -203,12 +203,6 @@ luaA_getopt_lstring(lua_State *L, int idx, const char *name, const char *def, si return luaL_optlstring(L, -1, def, len); } -static inline const char * -luaA_getopt_string(lua_State *L, int idx, const char *name, const char *def) -{ - return luaA_getopt_lstring(L, idx, name, def, NULL); -} - static inline bool luaA_getopt_boolean(lua_State *L, int idx, const char *name, bool def) {