Util-Linux Archive on lore.kernel.org
 help / color / Atom feed
* [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	[flat|nested] 2+ messages in thread

* Re: [PATCH] wdctl: remove duplicate include of <unistd.h>
  2019-08-15 12:03 [PATCH] wdctl: remove duplicate include of <unistd.h> Patrick Steinhardt
@ 2019-08-19 13:00 ` Karel Zak
  0 siblings, 0 replies; 2+ messages in thread
From: Karel Zak @ 2019-08-19 13:00 UTC (permalink / raw)
  To: Patrick Steinhardt; +Cc: util-linux

On Thu, Aug 15, 2019 at 02:03:23PM +0200, Patrick Steinhardt wrote:
>  sys-utils/wdctl.c | 1 -
>  1 file changed, 1 deletion(-)

Applied, thanks.

-- 
 Karel Zak  <kzak@redhat.com>
 http://karelzak.blogspot.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

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

Util-Linux Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/util-linux/0 util-linux/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 util-linux util-linux/ https://lore.kernel.org/util-linux \
		util-linux@vger.kernel.org
	public-inbox-index util-linux

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.util-linux


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git