mirror of
https://github.com/neovim/neovim.git
synced 2025-09-16 08:18:17 +00:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user