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

@@ -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