Fix GCC 4.2 build after r336415, proper declaration and prototype
This commit is contained in:
parent
8e62839eb1
commit
63975809ab
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=336416
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user