aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/generators/gen_api_dispatch.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-01-30 02:26:12 +0100
committerJustin M. Keyes <justinkz@gmail.com>2019-02-04 04:00:20 +0100
commitf2c6164b04709b83b60483642ed9b6f33cf01951 (patch)
tree5531a93a88b8484707744565976e0dbff6ec1799 /src/nvim/generators/gen_api_dispatch.lua
parent4386814b045a74c10edad5effafd48ac869ebda1 (diff)
downloadrneovim-f2c6164b04709b83b60483642ed9b6f33cf01951.tar.gz
rneovim-f2c6164b04709b83b60483642ed9b6f33cf01951.tar.bz2
rneovim-f2c6164b04709b83b60483642ed9b6f33cf01951.zip
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.
Diffstat (limited to 'src/nvim/generators/gen_api_dispatch.lua')
-rw-r--r--src/nvim/generators/gen_api_dispatch.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/generators/gen_api_dispatch.lua b/src/nvim/generators/gen_api_dispatch.lua
index bd9650e4d1..3703b76973 100644
--- a/src/nvim/generators/gen_api_dispatch.lua
+++ b/src/nvim/generators/gen_api_dispatch.lua
@@ -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
{