]> git.ipfire.org Git - thirdparty/util-linux.git/commit - misc-utils/hardlink.c
hardlink: move global variables to a control structure
authorSami Kerola <kerolasa@iki.fi>
Sat, 27 Apr 2019 08:54:11 +0000 (09:54 +0100)
committerSami Kerola <kerolasa@iki.fi>
Wed, 1 May 2019 18:49:07 +0000 (19:49 +0100)
commit007b9874d8074f6687ce9fe0c8a4ae9ae9aad72a
treee004ab812cd2f8402a1ae4e545a3dccfdb7486dd
parente87263aa13d7e0b2a267fd7aa305c038063c3c0c
hardlink: move global variables to a control structure

Well, sort of.  Due to use of ctl values in atexit() print_summary() there
is need for global control structure.

Secondly couple variables can be moved to more restricted scope, namely the
PCRE variables are now in main().

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
misc-utils/hardlink.c