From 014e12f573abe8f1c77b8206c1ea0becaf2a82f8 Mon Sep 17 00:00:00 2001 From: vda Date: Sat, 3 Feb 2007 17:28:39 +0000 Subject: suppress warnings about easch _main() having no preceding prototype git-svn-id: svn://busybox.net/trunk/busybox@17740 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- libbb/get_console.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libbb') diff --git a/libbb/get_console.c b/libbb/get_console.c index 52ae3d215..62a17399d 100644 --- a/libbb/get_console.c +++ b/libbb/get_console.c @@ -59,8 +59,8 @@ int get_console_fd(void) char arg; fd4name = open_a_console(choise_console_names[fd]); - chk_std: - choise_fd = fd4name >= 0 ? fd4name : fd; + chk_std: + choise_fd = (fd4name >= 0 ? fd4name : fd); arg = 0; if (ioctl(choise_fd, KDGKBTYPE, &arg) == 0) -- cgit v1.2.3-55-g6feb