summaryrefslogtreecommitdiff
path: root/libbb/get_console.c
diff options
context:
space:
mode:
authorDenis Vlasenko2007-02-03 17:28:39 +0000
committerDenis Vlasenko2007-02-03 17:28:39 +0000
commit06af2165288cd6516b89001ec9e24992619230e0 (patch)
tree840d22e507465aa6eb27c30c7ab8e80d9c469ae0 /libbb/get_console.c
parentc7ba8b9d6c926231c1c191136b1ea0bc14b87771 (diff)
downloadbusybox-06af2165288cd6516b89001ec9e24992619230e0.zip
busybox-06af2165288cd6516b89001ec9e24992619230e0.tar.gz
suppress warnings about easch <applet>_main() having
no preceding prototype
Diffstat (limited to 'libbb/get_console.c')
-rw-r--r--libbb/get_console.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/get_console.c b/libbb/get_console.c
index 52ae3d2..62a1739 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)