From 06af2165288cd6516b89001ec9e24992619230e0 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sat, 3 Feb 2007 17:28:39 +0000 Subject: suppress warnings about easch _main() having no preceding prototype --- libbb/get_console.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libbb/get_console.c') 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