Fix GCC 4.2 build after r336415, proper declaration and prototype

This commit is contained in:
Kyle Evans 2018-07-17 14:34:54 +00:00
parent 8e62839eb1
commit 63975809ab
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=336416

View File

@ -93,6 +93,7 @@ static void get_srcdir(void);
static void usage(void);
static void cleanheaders(char *);
static void kernconfdump(const char *);
static void badversion(void);
static void checkversion(void);
extern int yyparse(void);
@ -743,8 +744,8 @@ kernconfdump(const char *file)
fclose(fp);
}
static void
badversion()
static void
badversion(void)
{
fprintf(stderr, "ERROR: version of config(8) does not match kernel!\n");
fprintf(stderr, "config version = %d, ", CONFIGVERS);