netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [iproute2 PATCH] Fix usage of poll.h header
@ 2024-05-18 22:39 Ismael Luceno
  2024-05-20 10:08 ` Jiri Pirko
  2024-05-23 16:40 ` patchwork-bot+netdevbpf
  0 siblings, 2 replies; 3+ messages in thread
From: Ismael Luceno @ 2024-05-18 22:39 UTC (permalink / raw)
  To: netdev; +Cc: Stephen Hemminger, Ismael Luceno

Change the legacy <sys/poll.h> to <poll.h> (POSIX.1-2001).

Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
---
 misc/arpd.c   | 2 +-
 misc/ifstat.c | 2 +-
 misc/nstat.c  | 2 +-
 misc/rtacct.c | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/misc/arpd.c b/misc/arpd.c
index 65ac6a3828e6..3185620f7a74 100644
--- a/misc/arpd.c
+++ b/misc/arpd.c
@@ -14,7 +14,7 @@
 #include <netdb.h>
 #include <db_185.h>
 #include <sys/ioctl.h>
-#include <sys/poll.h>
+#include <poll.h>
 #include <errno.h>
 #include <fcntl.h>
 #include <sys/uio.h>
diff --git a/misc/ifstat.c b/misc/ifstat.c
index 9b93ded32a61..faebe938e598 100644
--- a/misc/ifstat.c
+++ b/misc/ifstat.c
@@ -17,7 +17,7 @@
 #include <sys/file.h>
 #include <sys/socket.h>
 #include <sys/un.h>
-#include <sys/poll.h>
+#include <poll.h>
 #include <sys/wait.h>
 #include <sys/stat.h>
 #include <signal.h>
diff --git a/misc/nstat.c b/misc/nstat.c
index 07d010dec35f..fce3e9c1ec79 100644
--- a/misc/nstat.c
+++ b/misc/nstat.c
@@ -17,7 +17,7 @@
 #include <sys/file.h>
 #include <sys/socket.h>
 #include <sys/un.h>
-#include <sys/poll.h>
+#include <poll.h>
 #include <sys/wait.h>
 #include <sys/stat.h>
 #include <signal.h>
diff --git a/misc/rtacct.c b/misc/rtacct.c
index 08363bfd4f26..cd84b7f06b9b 100644
--- a/misc/rtacct.c
+++ b/misc/rtacct.c
@@ -16,7 +16,7 @@
 #include <sys/file.h>
 #include <sys/socket.h>
 #include <sys/un.h>
-#include <sys/poll.h>
+#include <poll.h>
 #include <sys/wait.h>
 #include <sys/stat.h>
 #include <sys/mman.h>
-- 
2.44.0


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

* Re: [iproute2 PATCH] Fix usage of poll.h header
  2024-05-18 22:39 [iproute2 PATCH] Fix usage of poll.h header Ismael Luceno
@ 2024-05-20 10:08 ` Jiri Pirko
  2024-05-23 16:40 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: Jiri Pirko @ 2024-05-20 10:08 UTC (permalink / raw)
  To: Ismael Luceno; +Cc: netdev, Stephen Hemminger

Sun, May 19, 2024 at 12:39:44AM CEST, ismael@iodev.co.uk wrote:
>Change the legacy <sys/poll.h> to <poll.h> (POSIX.1-2001).
>
>Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>

Reviewed-by: Jiri Pirko <jiri@nvidia.com>

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

* Re: [iproute2 PATCH] Fix usage of poll.h header
  2024-05-18 22:39 [iproute2 PATCH] Fix usage of poll.h header Ismael Luceno
  2024-05-20 10:08 ` Jiri Pirko
@ 2024-05-23 16:40 ` patchwork-bot+netdevbpf
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2024-05-23 16:40 UTC (permalink / raw)
  To: Ismael Luceno; +Cc: netdev, stephen

Hello:

This patch was applied to iproute2/iproute2.git (main)
by Stephen Hemminger <stephen@networkplumber.org>:

On Sun, 19 May 2024 00:39:44 +0200 you wrote:
> Change the legacy <sys/poll.h> to <poll.h> (POSIX.1-2001).
> 
> Signed-off-by: Ismael Luceno <ismael@iodev.co.uk>
> ---
>  misc/arpd.c   | 2 +-
>  misc/ifstat.c | 2 +-
>  misc/nstat.c  | 2 +-
>  misc/rtacct.c | 2 +-
>  4 files changed, 4 insertions(+), 4 deletions(-)

Here is the summary with links:
  - [iproute2] Fix usage of poll.h header
    https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=f9601b10c211

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



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

end of thread, other threads:[~2024-05-23 16:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-18 22:39 [iproute2 PATCH] Fix usage of poll.h header Ismael Luceno
2024-05-20 10:08 ` Jiri Pirko
2024-05-23 16:40 ` patchwork-bot+netdevbpf

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).