]> git.ipfire.org Git - thirdparty/util-linux.git/commit - sys-utils/setarch.c
setarch: split set_arch() function to small functions
authorKarel Zak <kzak@redhat.com>
Mon, 6 Aug 2018 14:32:36 +0000 (16:32 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 6 Aug 2018 14:32:36 +0000 (16:32 +0200)
commit1db8bf93786b1e8df4970981b1144ec42f00c41e
treef91d3d8fea7af5f7b89cf8d635f0bcdbe3ace287
parent41f22ff389aecc477ca3a3f7d6482f1b00d09b33
setarch: split set_arch() function to small functions

It seems better to keep the code more flexibile by small one-purpose
functions than by one huge monster.

Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/setarch.c