diff options
author | J William Piggott | 2017-07-18 20:37:30 +0200 |
---|---|---|
committer | J William Piggott | 2017-07-20 02:46:12 +0200 |
commit | 62f22d912de2d2360031bef7e123549b27fb86ad (patch) | |
tree | ad0379e154866e656115ee29045f34489b2e57ab | |
parent | tests: check sfdisk resize on unsorted offsets (diff) | |
download | kernel-qcow2-util-linux-62f22d912de2d2360031bef7e123549b27fb86ad.tar.gz kernel-qcow2-util-linux-62f22d912de2d2360031bef7e123549b27fb86ad.tar.xz kernel-qcow2-util-linux-62f22d912de2d2360031bef7e123549b27fb86ad.zip |
hwclock: remove unused epoch_option
Also one whitespace fix.
Signed-off-by: J William Piggott <elseifthen@gmx.com>
-rw-r--r-- | sys-utils/hwclock.c | 2 | ||||
-rw-r--r-- | sys-utils/hwclock.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/sys-utils/hwclock.c b/sys-utils/hwclock.c index 423ebcd01..9745158a7 100644 --- a/sys-utils/hwclock.c +++ b/sys-utils/hwclock.c @@ -1468,7 +1468,7 @@ int main(int argc, char **argv) } if (ctl.set || ctl.predict) { - if (!ctl.date_opt){ + if (!ctl.date_opt) { warnx(_("--date is required for --set or --predict")); hwclock_exit(&ctl, EX_USAGE); } diff --git a/sys-utils/hwclock.h b/sys-utils/hwclock.h index 61be57ac7..a1ef80cee 100644 --- a/sys-utils/hwclock.h +++ b/sys-utils/hwclock.h @@ -64,7 +64,6 @@ typedef int bool; /* hwclock.c */ extern int debug; -extern unsigned long epoch_option; extern double time_diff(struct timeval subtrahend, struct timeval subtractor); /* rtc.c */ |