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

@@ -5958,6 +5958,10 @@ static int get_env_tv(char_u **arg, typval_T *rettv, int evaluate)
#pragma function (floor)
#endif
// silence -Wmissing-prototypes for funcs.generated.h
const VimLFuncDef *find_internal_func_gperf(register const char *str,
register size_t len);
# include "funcs.generated.h"
#endif