From: J William Piggott <elseifthen@gmx.com>
To: Karel Zak <kzak@redhat.com>
Cc: util-linux@vger.kernel.org
Subject: [PATCH 1/2] hwclock: remove unused epoch_option
Date: Tue, 18 Jul 2017 16:00:51 -0400 [thread overview]
Message-ID: <9a83ee2d-3fa4-f871-55fd-70d135dea7e9@gmx.com> (raw)
In-Reply-To: <b8d24f10-1bea-aa80-0a28-9f573dd81d2a@gmx.com>
Also one whitespace fix.
Signed-off-by: J William Piggott <elseifthen@gmx.com>
---
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 423ebcd..9745158 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 61be57a..a1ef80c 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 */
next prev parent reply other threads:[~2017-07-18 20:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-18 19:59 [PATCH 0/2] Pull Request J William Piggott
2017-07-18 20:00 ` J William Piggott [this message]
2017-07-18 20:01 ` [PATCH 2/2] hwclock: fix regression from c3ae785 J William Piggott
2017-07-18 20:33 ` Ruediger Meier
2017-07-18 20:46 ` Ruediger Meier
2017-07-19 1:25 ` J William Piggott
2017-07-19 1:20 ` J William Piggott
2017-07-20 1:14 ` [v3 PATCH " J William Piggott
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9a83ee2d-3fa4-f871-55fd-70d135dea7e9@gmx.com \
--to=elseifthen@gmx.com \
--cc=kzak@redhat.com \
--cc=util-linux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox