build: -Wmissing-prototypes

ref #343

Though I don't see a strong benefit, it isn't too much of a burden, and
maybe avoids confusion in some cases.
This commit is contained in:
Justin M. Keyes
2019-01-30 02:26:12 +01:00
parent 4386814b04
commit f2c6164b04
9 changed files with 13 additions and 1 deletions

View File

@@ -448,6 +448,7 @@ for _, fn in ipairs(functions) do
end
output:write(string.format([[
void nlua_add_api_functions(lua_State *lstate); // silence -Wmissing-prototypes
void nlua_add_api_functions(lua_State *lstate)
FUNC_ATTR_NONNULL_ALL
{