public inbox for linux-rt-users@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] cyclictest: remove inclusion of unnecessary headers
@ 2023-05-30 17:02 Marcelo Tosatti
  2023-06-01 14:45 ` John Kacur
  0 siblings, 1 reply; 2+ messages in thread
From: Marcelo Tosatti @ 2023-05-30 17:02 UTC (permalink / raw)
  To: John Kacur; +Cc: linux-rt-users, Nini Gu, Jun Wang


The following three headers seem to be unnecessary,
and do not exist on FreeBSD.

Remove their inclusion.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>

diff --git a/src/cyclictest/cyclictest.c b/src/cyclictest/cyclictest.c
index 82759d1..7b0f80f 100644
--- a/src/cyclictest/cyclictest.c
+++ b/src/cyclictest/cyclictest.c
@@ -22,11 +22,8 @@
 #include <time.h>
 #include <errno.h>
 #include <limits.h>
-#include <linux/unistd.h>
 
-#include <sys/prctl.h>
 #include <sys/stat.h>
-#include <sys/sysinfo.h>
 #include <sys/types.h>
 #include <sys/time.h>
 #include <sys/resource.h>


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

end of thread, other threads:[~2023-06-01 14:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-30 17:02 [PATCH] cyclictest: remove inclusion of unnecessary headers Marcelo Tosatti
2023-06-01 14:45 ` John Kacur

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox