public inbox for linux-rt-users@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcelo Tosatti <mtosatti@redhat.com>
To: John Kacur <jkacur@redhat.com>
Cc: linux-rt-users@vger.kernel.org, Nini Gu <ngu@redhat.com>,
	Jun Wang <jwang@redhat.com>
Subject: [PATCH] cyclictest: remove inclusion of unnecessary headers
Date: Tue, 30 May 2023 14:02:54 -0300	[thread overview]
Message-ID: <ZHYsPobROUdwnEC/@tpad> (raw)


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>


             reply	other threads:[~2023-05-30 18:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-30 17:02 Marcelo Tosatti [this message]
2023-06-01 14:45 ` [PATCH] cyclictest: remove inclusion of unnecessary headers John Kacur

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=ZHYsPobROUdwnEC/@tpad \
    --to=mtosatti@redhat.com \
    --cc=jkacur@redhat.com \
    --cc=jwang@redhat.com \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=ngu@redhat.com \
    /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