]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
hwclock: remove unused epoch_option
authorJ William Piggott <elseifthen@gmx.com>
Tue, 18 Jul 2017 18:37:30 +0000 (14:37 -0400)
committerJ William Piggott <elseifthen@gmx.com>
Thu, 20 Jul 2017 00:46:12 +0000 (20:46 -0400)
Also one whitespace fix.

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

index 423ebcd016401ea72586523b17bc8e8237fb2e93..9745158a7b891d6c74403f70dbf82f330a83eaa3 100644 (file)
@@ -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);
                }
index 61be57ac7a2e9e34ab9087c5b6b3de6908129314..a1ef80cee800dd5085c325653f800a98f45e2946 100644 (file)
@@ -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 */