diff options
author | Karel Zak | 2019-04-16 13:47:17 +0200 |
---|---|---|
committer | Karel Zak | 2019-04-16 13:47:17 +0200 |
commit | 68224d108d1e5359a111cb2be0404f6556cb90dd (patch) | |
tree | 4d956d4d580dd6ceac9e7a23469a914780d115ac /include/carefulputc.h | |
parent | include/closestream: add close_stdout_atexit() (diff) | |
download | kernel-qcow2-util-linux-68224d108d1e5359a111cb2be0404f6556cb90dd.tar.gz kernel-qcow2-util-linux-68224d108d1e5359a111cb2be0404f6556cb90dd.tar.xz kernel-qcow2-util-linux-68224d108d1e5359a111cb2be0404f6556cb90dd.zip |
include/c: add print_version() macro
Let's consolidate the version printing code. It also seems better to
use exit() after --version, because it's handled in different way by
ASAN.
It's strange, but ASAN reports leaks after return in main(). Note that
we do not use free-before-exit.
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include/carefulputc.h')
0 files changed, 0 insertions, 0 deletions