diff options
author | Kyle Evans <kevans@FreeBSD.org> | 2018-07-17 14:34:54 +0000 |
---|---|---|
committer | Kyle Evans <kevans@FreeBSD.org> | 2018-07-17 14:34:54 +0000 |
commit | 63975809ab6203f14d07e3b9bf15de107f35187e (patch) | |
tree | bf98fc6c420fce4b1cd8f934c52a0e37bca3e792 /usr.sbin | |
parent | 8e62839eb12bc30d47890d670413ccf53d06d821 (diff) | |
download | src-63975809ab6203f14d07e3b9bf15de107f35187e.tar.gz src-63975809ab6203f14d07e3b9bf15de107f35187e.zip |
Fix GCC 4.2 build after r336415, proper declaration and prototype
Notes
Notes:
svn path=/head/; revision=336416
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/config/main.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/config/main.c b/usr.sbin/config/main.c index f52cc2f4d329..a3e8a438d637 100644 --- a/usr.sbin/config/main.c +++ b/usr.sbin/config/main.c @@ -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); |