]> git.ipfire.org Git - thirdparty/util-linux.git/commit
agetty: move usage() and parse_args() before main()
authorKarel Zak <kzak@redhat.com>
Thu, 14 May 2026 10:06:12 +0000 (12:06 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 14 May 2026 11:15:33 +0000 (13:15 +0200)
commit87935d6ee8493554804e3835f4ee69beeb67d105
tree81edf90870174d73a0a3bd963a53c8ae8f290d1a
parenta6c9c00c72d7b75302625132e24dbbf85aed1a23
agetty: move usage() and parse_args() before main()

Reorder functions so that output_version(), usage() and
parse_args() appear before main(), matching the convention used
across the project. Remove the now unnecessary forward
declarations for these functions.

Signed-off-by: Karel Zak <kzak@redhat.com>
agetty-cmd/agetty.c