Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Reagan Bohan <reagan@ourmail.work>
To: igt-dev@lists.freedesktop.org
Cc: Reagan Bohan <reagan@ourmail.work>
Subject: [PATCH i-g-t v2 7/7] Change sys/signal.h to signal.h
Date: Sat, 27 Apr 2024 11:18:45 +0000	[thread overview]
Message-ID: <20240427112045.10987-8-reagan@ourmail.work> (raw)
In-Reply-To: <20240427112045.10987-1-reagan@ourmail.work>

sys/signal.h is non standard, emits a warning on musl libc and is
inconsistent with other files (which use just signal.h):

Signed-off-by: Reagan Bohan <reagan@ourmail.work>
---
 tests/intel/gem_exec_await.c           | 2 +-
 tests/intel/gem_exec_balancer.c        | 2 +-
 tests/intel/gem_exec_fence.c           | 2 +-
 tests/intel/gem_exec_latency.c         | 2 +-
 tests/intel/gem_unref_active_buffers.c | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/tests/intel/gem_exec_await.c b/tests/intel/gem_exec_await.c
index fcbca1547..cc976f09d 100644
--- a/tests/intel/gem_exec_await.c
+++ b/tests/intel/gem_exec_await.c
@@ -22,8 +22,8 @@
  *
  */
 
+#include <signal.h>
 #include <sys/ioctl.h>
-#include <sys/signal.h>
 
 #include "drmtest.h"
 #include "i915/gem.h"
diff --git a/tests/intel/gem_exec_balancer.c b/tests/intel/gem_exec_balancer.c
index 7504f3737..83cc7eea4 100644
--- a/tests/intel/gem_exec_balancer.c
+++ b/tests/intel/gem_exec_balancer.c
@@ -23,8 +23,8 @@
 
 #include <fcntl.h>
 #include <sched.h>
+#include <signal.h>
 #include <sys/ioctl.h>
-#include <sys/signal.h>
 #include <poll.h>
 
 #include "dmabuf_sync_file.h"
diff --git a/tests/intel/gem_exec_fence.c b/tests/intel/gem_exec_fence.c
index 28bad83f6..deff18abc 100644
--- a/tests/intel/gem_exec_fence.c
+++ b/tests/intel/gem_exec_fence.c
@@ -23,8 +23,8 @@
 
 #include <poll.h>
 #include <string.h>
+#include <signal.h>
 #include <sys/ioctl.h>
-#include <sys/signal.h>
 #include "i915/gem.h"
 #include "i915/gem_create.h"
 #include "igt.h"
diff --git a/tests/intel/gem_exec_latency.c b/tests/intel/gem_exec_latency.c
index b9d086afc..b802c2f31 100644
--- a/tests/intel/gem_exec_latency.c
+++ b/tests/intel/gem_exec_latency.c
@@ -30,10 +30,10 @@
 #include <fcntl.h>
 #include <inttypes.h>
 #include <errno.h>
+#include <signal.h>
 #include <sys/stat.h>
 #include <sys/ioctl.h>
 #include <sys/time.h>
-#include <sys/signal.h>
 #include <time.h>
 #include <sched.h>
 
diff --git a/tests/intel/gem_unref_active_buffers.c b/tests/intel/gem_unref_active_buffers.c
index f8138c7ac..47f792738 100644
--- a/tests/intel/gem_unref_active_buffers.c
+++ b/tests/intel/gem_unref_active_buffers.c
@@ -34,8 +34,8 @@
 #include <errno.h>
 #include <fcntl.h>
 #include <inttypes.h>
+#include <signal.h>
 #include <sys/ioctl.h>
-#include <sys/signal.h>
 #include <sys/time.h>
 
 #include "igt.h"
-- 
2.43.2


  parent reply	other threads:[~2024-04-27 11:28 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-21 23:20 [PATCH 0/3] Misc. musl libc fixes Reagan Bohan
2024-04-21 23:20 ` [PATCH 1/3] Define _LARGEFILE64_SOURCE for musl libc Reagan Bohan
2024-04-22 15:36   ` Kamil Konieczny
2024-04-27  7:11     ` Reagan Bohan
2024-04-21 23:20 ` [PATCH 2/3] Change sys/poll.h to poll.h Reagan Bohan
2024-04-22 15:48   ` Kamil Konieczny
2024-04-27  7:06     ` Reagan Bohan
2024-04-21 23:20 ` [PATCH 3/3] Change sys/signal.h to signal.h Reagan Bohan
2024-04-22 15:49   ` Kamil Konieczny
2024-04-27 11:18 ` [PATCH i-g-t v2 0/7] Misc musl fixes Reagan Bohan
2024-04-27 11:18   ` [PATCH i-g-t v2 1/7] Define _LARGEFILE64_SOURCE for musl libc Reagan Bohan
2024-04-27 11:18   ` [PATCH i-g-t v2 2/7] lib: use poll.h in includes Reagan Bohan
2024-04-27 11:18   ` [PATCH i-g-t v2 3/7] benchmarks: " Reagan Bohan
2024-04-27 11:18   ` [PATCH i-g-t v2 4/7] runner: " Reagan Bohan
2024-04-27 11:18   ` [PATCH i-g-t v2 5/7] tests: " Reagan Bohan
2024-04-27 11:18   ` [PATCH i-g-t v2 6/7] tools: " Reagan Bohan
2024-04-27 11:18   ` Reagan Bohan [this message]
2024-05-06 16:30   ` [PATCH i-g-t v2 0/7] Misc musl fixes Kamil Konieczny

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=20240427112045.10987-8-reagan@ourmail.work \
    --to=reagan@ourmail.work \
    --cc=igt-dev@lists.freedesktop.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