From af15ae34e20473e7f769fbde2bd73ff0d0fe9a82 Mon Sep 17 00:00:00 2001 From: kan Date: Fri, 6 Apr 2007 20:50:24 +0000 Subject: pc98 boot2 is compiled with _KERNEL defined, and that makes non-static bootinfo variable declaration visible. It conflicts with static declaration in this file. Declare variable as globally visible in order to resolve the conflict. --- sys/boot/pc98/boot2/boot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/boot/pc98/boot2/boot.c b/sys/boot/pc98/boot2/boot.c index feccc7e..f350b91 100644 --- a/sys/boot/pc98/boot2/boot.c +++ b/sys/boot/pc98/boot2/boot.c @@ -70,7 +70,7 @@ static char kernel_config[KERNEL_CONFIG_SIZE]; static char kernel_config_namebuf[NAMEBUF_LEN + sizeof "config"]; static char linebuf[NAMEBUF_LEN]; static char namebuf[NAMEBUF_LEN]; -static struct bootinfo bootinfo; +struct bootinfo bootinfo; int loadflags; static void getbootdev(char *ptr, int *howto); -- cgit v1.1