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) {