aboutsummaryrefslogtreecommitdiff
path: root/libbb/get_console.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/get_console.c')
-rw-r--r--libbb/get_console.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libbb/get_console.c b/libbb/get_console.c
index ad56e740f..74022b543 100644
--- a/libbb/get_console.c
+++ b/libbb/get_console.c
@@ -13,7 +13,6 @@
13/* From <linux/kd.h> */ 13/* From <linux/kd.h> */
14enum { KDGKBTYPE = 0x4B33 }; /* get keyboard type */ 14enum { KDGKBTYPE = 0x4B33 }; /* get keyboard type */
15 15
16
17static int open_a_console(const char *fnam) 16static int open_a_console(const char *fnam)
18{ 17{
19 int fd; 18 int fd;
@@ -37,7 +36,6 @@ static int open_a_console(const char *fnam)
37 * We try several things because opening /dev/console will fail 36 * We try several things because opening /dev/console will fail
38 * if someone else used X (which does a chown on /dev/console). 37 * if someone else used X (which does a chown on /dev/console).
39 */ 38 */
40
41int FAST_FUNC get_console_fd_or_die(void) 39int FAST_FUNC get_console_fd_or_die(void)
42{ 40{
43 static const char *const console_names[] = { 41 static const char *const console_names[] = {