From 370f9086a631b7d5280804fa5146b94a898d2c50 Mon Sep 17 00:00:00 2001 From: Hidetoshi Shimokawa Date: Thu, 14 Oct 2004 00:21:32 +0000 Subject: Fix warnings on non-i386 arch. Submitted by: keramida --- sys/dev/dcons/dcons_os.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/dev/dcons/dcons_os.c') diff --git a/sys/dev/dcons/dcons_os.c b/sys/dev/dcons/dcons_os.c index 7347336f3460..a04d16eda9f2 100644 --- a/sys/dev/dcons/dcons_os.c +++ b/sys/dev/dcons/dcons_os.c @@ -493,7 +493,9 @@ dcons_cnputc(DEV dev, int c) static int dcons_drv_init(int stage) { +#ifdef __i386__ int addr, size; +#endif if (drv_init) return(drv_init); -- cgit v1.3