All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/5] libsepol/test Include policydb.h header for policydb_t declaration
@ 2022-04-14 13:51 James Carter
  2022-04-14 13:51 ` [PATCH 2/5] libsepol/test: Include paired headers for prototypes James Carter
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: James Carter @ 2022-04-14 13:51 UTC (permalink / raw)
  To: selinux; +Cc: cgzones, James Carter

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>
---
 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


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

end of thread, other threads:[~2022-04-20 19:01 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [PATCH 1/5] libsepol/test Include policydb.h header for policydb_t declaration Petr Lautrbach
2022-04-20 19:01   ` James Carter

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.