aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/main.c
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/main.c
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/main.c')
-rw-r--r--src/nvim/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c
index 9c8711495c..5d67f53ec4 100644
--- a/src/nvim/main.c
+++ b/src/nvim/main.c
@@ -222,6 +222,7 @@ void early_init(void)
}
#ifdef MAKE_LIB
+int nvim_main(int argc, char **argv); // silence -Wmissing-prototypes
int nvim_main(int argc, char **argv)
#elif defined(WIN32)
int wmain(int argc, wchar_t **argv_w) // multibyte args on Windows. #7060