From: Petr Lautrbach <plautrba@redhat.com>
To: James Carter <jwcart2@gmail.com>, selinux@vger.kernel.org
Cc: cgzones@googlemail.com
Subject: Re: [PATCH 1/5] libsepol/test Include policydb.h header for policydb_t declaration
Date: Wed, 20 Apr 2022 20:54:02 +0200 [thread overview]
Message-ID: <875yn3twl1.fsf@redhat.com> (raw)
In-Reply-To: <20220414135141.1723610-1-jwcart2@gmail.com>
James Carter <jwcart2@gmail.com> writes:
> Since test-linker-cond-map.h and test-linker-types.h references
> policydb_t, include the policydb header file.
>
> Signed-off-by: James Carter <jwcart2@gmail.com>
For all 5 patches:
Acked-by: Petr Lautrbach <plautrba@redhat.com>
> ---
> libsepol/tests/test-linker-cond-map.h | 2 ++
> libsepol/tests/test-linker-types.h | 2 ++
> 2 files changed, 4 insertions(+)
>
> diff --git a/libsepol/tests/test-linker-cond-map.h b/libsepol/tests/test-linker-cond-map.h
> index 148c6f62..740a722e 100644
> --- a/libsepol/tests/test-linker-cond-map.h
> +++ b/libsepol/tests/test-linker-cond-map.h
> @@ -21,6 +21,8 @@
> #ifndef __TEST_LINKER_COND_MAP_H__
> #define __TEST_LINKER_COND_MAP_H__
>
> +#include <sepol/policydb/policydb.h>
> +
> extern void base_cond_tests(policydb_t * base);
> extern void module_cond_tests(policydb_t * base);
>
> diff --git a/libsepol/tests/test-linker-types.h b/libsepol/tests/test-linker-types.h
> index 0c860ebf..acad5e0e 100644
> --- a/libsepol/tests/test-linker-types.h
> +++ b/libsepol/tests/test-linker-types.h
> @@ -21,6 +21,8 @@
> #ifndef __TEST_LINKER_TYPES_H__
> #define __TEST_LINKER_TYPES_H__
>
> +#include <sepol/policydb/policydb.h>
> +
> extern void base_type_tests(policydb_t * base);
> extern void module_type_tests(policydb_t * base);
>
> --
> 2.34.1
next prev parent reply other threads:[~2022-04-20 18:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-14 13:51 [PATCH 1/5] libsepol/test Include policydb.h header for policydb_t declaration James Carter
2022-04-14 13:51 ` [PATCH 2/5] libsepol/test: Include paired headers for prototypes James Carter
2022-04-14 13:51 ` [PATCH 3/5] libsepol/test: Declare file local functions as static James Carter
2022-04-14 13:51 ` [PATCH 4/5] libsemanage/tests: " James Carter
2022-04-14 13:51 ` [PATCH 5/5] libsemanage/tests: Remove unused functions James Carter
2022-04-20 18:54 ` Petr Lautrbach [this message]
2022-04-20 19:01 ` [PATCH 1/5] libsepol/test Include policydb.h header for policydb_t declaration James Carter
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=875yn3twl1.fsf@redhat.com \
--to=plautrba@redhat.com \
--cc=cgzones@googlemail.com \
--cc=jwcart2@gmail.com \
--cc=selinux@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.