diff mbox series

[iproute2] Fix usage of poll.h header

Message ID 20240518223946.22032-1-ismael@iodev.co.uk (mailing list archive)
State Accepted
Commit f9601b10c21145f76c3d46c163bac39515ed2061
Delegated to: Stephen Hemminger
Headers show
Series [iproute2] Fix usage of poll.h header | expand

Checks

Context Check Description
netdev/tree_selection success Not a local patch

Commit Message

Ismael Luceno May 18, 2024, 10:39 p.m. UTC
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(-)

Comments

Jiri Pirko May 20, 2024, 10:08 a.m. UTC | #1
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>
patchwork-bot+netdevbpf@kernel.org May 23, 2024, 4:40 p.m. UTC | #2
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!
diff mbox series

Patch

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>