From: J William Piggott Date: Tue, 18 Jul 2017 18:37:30 +0000 (-0400) Subject: hwclock: remove unused epoch_option X-Git-Tag: v2.31-rc1~177 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=62f22d912de2d2360031bef7e123549b27fb86ad;p=thirdparty%2Futil-linux.git hwclock: remove unused epoch_option Also one whitespace fix. Signed-off-by: J William Piggott --- diff --git a/sys-utils/hwclock.c b/sys-utils/hwclock.c index 423ebcd016..9745158a7b 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 61be57ac7a..a1ef80cee8 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 */