]> git.ipfire.org Git - thirdparty/util-linux.git/commit
agetty: split out logging functions to utils.c
authorKarel Zak <kzak@redhat.com>
Wed, 13 May 2026 13:18:13 +0000 (15:18 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 14 May 2026 11:14:57 +0000 (13:14 +0200)
commit9b4e509b9c2958e981e4cc716fb7b69915d4cb20
tree82d11d2457957e9d4010e7aa6876baffc36d75b9
parentea1900371a5dee8f2baeb1a829cb04a3ce32ae6c
agetty: split out logging functions to utils.c

Move dolog(), agetty_exit_slowly(), agetty_log_err() and
agetty_log_warn() to a new utils.c file. These are foundational
functions used throughout agetty and need to be available to all
the split-out files.

Rename with agetty_ prefix to avoid symbol name collisions now
that the functions are no longer static.

Signed-off-by: Karel Zak <kzak@redhat.com>
agetty-cmd/Makemodule.am
agetty-cmd/agetty.c
agetty-cmd/agetty.h
agetty-cmd/meson.build
agetty-cmd/utils.c [new file with mode: 0644]