]> git.ipfire.org Git - thirdparty/util-linux.git/commit
include/ttyutils: add default chardata
authorWerner Fink <werner@suse.de>
Tue, 8 Jan 2013 14:38:40 +0000 (15:38 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 8 Jan 2013 14:42:12 +0000 (15:42 +0100)
commitf5664477cbc7c5f94bf6e640adf01e47880a9b12
tree5d5f90a1be010cb56470da4ad73d33fa49554beb
parent0f23ee0c855d686b0c315af2c96b8835134cd9e3
include/ttyutils: add default chardata

this one moves the init_chardata to include/ttyutils.h as well as to
lib/include/ttyutils.c.  Also the macros CTL/CTRL are fixed in
agetty.c and sulogin.c to use the XOR variant CTL.

[kzak@redhat.com: use macro rather than global variable for default
                  chardata]

Signed-off-by: Werner Fink <werner@suse.de>
Signed-off-by: Karel Zak <kzak@redhat.com>
include/ttyutils.h
login-utils/sulogin-consoles.c
login-utils/sulogin-consoles.h
login-utils/sulogin.c
term-utils/agetty.c