summaryrefslogtreecommitdiffstats
path: root/include/consoles.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/consoles.h')
-rw-r--r--include/consoles.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/consoles.h b/include/consoles.h
index c669eb2a7..2283d024b 100644
--- a/include/consoles.h
+++ b/include/consoles.h
@@ -44,5 +44,6 @@ struct console {
struct termios tio;
struct console *next;
};
-extern struct console *consoles;
-extern int detect_consoles(const char *, int);
+
+extern int detect_consoles(const char *device, int fallback,
+ struct console **consoles);