.../retrobsd/src/share/zoneinfo/zdump.c :
zdump.c:26:1: error: type of ‘v’ defaults to ‘int’ [-Werror=implicit-int]
show(zone, t, v)
^
cc1: all warnings being treated as errors
///// numerous, but compiler stops on the first
.../retrobsd/tools/kconfig$ ls mkioconf.c :+1
mkioconf.c: In function ‘wnum’:
mkioconf.c:58:14: error: type of ‘num’ defaults to ‘int’ [-Werror=implicit-int]
static char *wnum(num)
^
cc1: all warnings being treated as errors
So, kconfig and zdump were not created/
This commit difines the types of some variables in "visible" form:
void function(var) => void function (int var)
While compiling on clean lubuntu 16.04.1 lts (Virtualbox) as described in http://retrobsd.org/wiki/doku.php/doc/install some errors occured:
.../retrobsd/src/share/zoneinfo/zdump.c : zdump.c:26:1: error: type of ‘v’ defaults to ‘int’ [-Werror=implicit-int] show(zone, t, v) ^ cc1: all warnings being treated as errors ///// numerous, but compiler stops on the first
.../retrobsd/tools/kconfig$ ls mkioconf.c :+1 mkioconf.c: In function ‘wnum’: mkioconf.c:58:14: error: type of ‘num’ defaults to ‘int’ [-Werror=implicit-int] static char *wnum(num) ^ cc1: all warnings being treated as errors
So, kconfig and zdump were not created/ This commit difines the types of some variables in "visible" form: void function(var) => void function (int var)