]> git.ipfire.org Git - thirdparty/util-linux.git/commit
sulogin: use the linked lists from list.h for consoles list
authorWerner Fink <werner@suse.de>
Tue, 18 Dec 2012 14:02:35 +0000 (15:02 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 18 Dec 2012 14:02:35 +0000 (15:02 +0100)
commitcae29b3717dc08899faaa0adff818fe63a2c88b7
treef02a16454ee861953c2132433c8db2c71f2f40ca
parent59da1544ce82813e88c24ed8b612ba39ea1e3cc2
sulogin: use the linked lists from list.h for consoles list

with this the double linked list feature from util-linux is used
instead of the single linked list.

[kzak@redhat.com: use list_last_entry() and list INIT macros]

Signed-off-by: Werner Fink <werner@suse.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
include/consoles.h
lib/consoles.c