aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-02-03 17:28:39 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-02-03 17:28:39 +0000
commit014e12f573abe8f1c77b8206c1ea0becaf2a82f8 (patch)
tree840d22e507465aa6eb27c30c7ab8e80d9c469ae0 /libbb
parent41b3db267505b794164fb3ad2501afb2bfbbc117 (diff)
downloadbusybox-w32-014e12f573abe8f1c77b8206c1ea0becaf2a82f8.tar.gz
busybox-w32-014e12f573abe8f1c77b8206c1ea0becaf2a82f8.tar.bz2
busybox-w32-014e12f573abe8f1c77b8206c1ea0becaf2a82f8.zip
suppress warnings about easch <applet>_main() having
no preceding prototype git-svn-id: svn://busybox.net/trunk/busybox@17740 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libbb')
-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 52ae3d215..62a17399d 100644
--- a/libbb/get_console.c
+++ b/libbb/get_console.c
@@ -59,8 +59,8 @@ int get_console_fd(void)
59 char arg; 59 char arg;
60 60
61 fd4name = open_a_console(choise_console_names[fd]); 61 fd4name = open_a_console(choise_console_names[fd]);
62 chk_std: 62 chk_std:
63 choise_fd = fd4name >= 0 ? fd4name : fd; 63 choise_fd = (fd4name >= 0 ? fd4name : fd);
64 64
65 arg = 0; 65 arg = 0;
66 if (ioctl(choise_fd, KDGKBTYPE, &arg) == 0) 66 if (ioctl(choise_fd, KDGKBTYPE, &arg) == 0)