* [PATCH] wdctl: remove duplicate include of <unistd.h>
@ 2019-08-15 12:03 Patrick Steinhardt
2019-08-19 13:00 ` Karel Zak
0 siblings, 1 reply; 2+ messages in thread
From: Patrick Steinhardt @ 2019-08-15 12:03 UTC (permalink / raw)
To: util-linux; +Cc: Patrick Steinhardt
The <unistd.h> header is included twice in "wdctl.c". Remove one
of these includes to keep "make checkincludes" happy.
Signed-off-by: Patrick Steinhardt <ps@pks.im>
---
sys-utils/wdctl.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sys-utils/wdctl.c b/sys-utils/wdctl.c
index 0bb245bae..8de5d5a2d 100644
--- a/sys-utils/wdctl.c
+++ b/sys-utils/wdctl.c
@@ -21,7 +21,6 @@
#include <sys/ioctl.h>
#include <getopt.h>
#include <stdio.h>
-#include <unistd.h>
#include <signal.h>
#include <assert.h>
#include <linux/watchdog.h>
--
2.22.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-08-19 13:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-15 12:03 [PATCH] wdctl: remove duplicate include of <unistd.h> Patrick Steinhardt
2019-08-19 13:00 ` Karel Zak
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).