]> git.ipfire.org Git - thirdparty/util-linux.git/commit
hwclock: remove sysexits.h
authorJ William Piggott <elseifthen@gmx.com>
Mon, 28 Aug 2017 00:26:41 +0000 (20:26 -0400)
committerJ William Piggott <elseifthen@gmx.com>
Sun, 3 Sep 2017 16:03:10 +0000 (12:03 -0400)
commitc47a8f2a87b409ace58f9062bb3f37130f18da81
treeae43d06020c9bf2fa5178131356f74f6638bbb01
parent58d57ae2d88ef638e3ff07c213b5158334d3f658
hwclock: remove sysexits.h

sysexits.h was introduced in v2.11t prior to util-linux-ng, with the
HISTORY entry: * hwclock: minor polishing.

So there was no specific issue solved by adding it. Its use was never
documented so it should be safe to remove.

Also, fix return values being used for the exit status that were not
magic constants (portability issue).

Signed-off-by: J William Piggott <elseifthen@gmx.com>
sys-utils/hwclock-rtc.c
sys-utils/hwclock.8.in
sys-utils/hwclock.c