summaryrefslogtreecommitdiffstats
path: root/include/consoles.h
diff options
context:
space:
mode:
authorKarel Zak2012-11-09 10:06:23 +0100
committerKarel Zak2012-11-09 10:06:23 +0100
commitcf987d0aa7f1f2efa3c80ab329f095cd315d0ee0 (patch)
tree061a19457b9083ee0969e58b2e56c47ef332114d /include/consoles.h
parentlib/consolas: remove global variable concount, fix linked list (diff)
downloadkernel-qcow2-util-linux-cf987d0aa7f1f2efa3c80ab329f095cd315d0ee0.tar.gz
kernel-qcow2-util-linux-cf987d0aa7f1f2efa3c80ab329f095cd315d0ee0.tar.xz
kernel-qcow2-util-linux-cf987d0aa7f1f2efa3c80ab329f095cd315d0ee0.zip
lib/consoles: remove global variable consoles
Signed-off-by: Karel Zak <kzak@redhat.com>
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);