diff options
author | Karel Zak | 2012-11-09 10:06:23 +0100 |
---|---|---|
committer | Karel Zak | 2012-11-09 10:06:23 +0100 |
commit | cf987d0aa7f1f2efa3c80ab329f095cd315d0ee0 (patch) | |
tree | 061a19457b9083ee0969e58b2e56c47ef332114d /include/consoles.h | |
parent | lib/consolas: remove global variable concount, fix linked list (diff) | |
download | kernel-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.h | 5 |
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); |