From: John Kacur <jkacur@redhat.com>
To: Marcelo Tosatti <mtosatti@redhat.com>
Cc: linux-rt-users@vger.kernel.org, Nini Gu <ngu@redhat.com>,
Jun Wang <jwang@redhat.com>
Subject: Re: [PATCH] cyclictest: remove inclusion of unnecessary headers
Date: Thu, 1 Jun 2023 10:45:42 -0400 (EDT) [thread overview]
Message-ID: <36d4d5b7-9f99-e979-8dfa-ecf9a495312e@redhat.com> (raw)
In-Reply-To: <ZHYsPobROUdwnEC/@tpad>
On Tue, 30 May 2023, Marcelo Tosatti wrote:
>
> 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>
>
>
Signed-off-by: John Kacur <jkacur@redhat.com>
prev parent reply other threads:[~2023-06-01 14:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-30 17:02 [PATCH] cyclictest: remove inclusion of unnecessary headers Marcelo Tosatti
2023-06-01 14:45 ` John Kacur [this message]
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=36d4d5b7-9f99-e979-8dfa-ecf9a495312e@redhat.com \
--to=jkacur@redhat.com \
--cc=jwang@redhat.com \
--cc=linux-rt-users@vger.kernel.org \
--cc=mtosatti@redhat.com \
--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