From 62f22d912de2d2360031bef7e123549b27fb86ad Mon Sep 17 00:00:00 2001 From: J William Piggott Date: Tue, 18 Jul 2017 14:37:30 -0400 Subject: [PATCH] hwclock: remove unused epoch_option Also one whitespace fix. Signed-off-by: J William Piggott --- sys-utils/hwclock.c | 2 +- sys-utils/hwclock.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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 */ -- 2.47.3