* Building of Python bindings from libapol/swig/python directory with CPython 2.7 /usr/bin/swig -python -o apol_wrap.c -I../../../libapol/include -I../../../libqpol/swig ../apol.i ../apol.i:276: Warning 504: Function apol_ip::apol_ip_t(char const *) must have a return type. Ignored. ../apol.i:279: Warning 521: Illegal destructor name apol_ip::~apol_ip_t(). Ignored. ../apol.i:308: Warning 504: Function apol_vector::apol_vector_t() must have a return type. Ignored. ../apol.i:311: Warning 504: Function apol_vector::apol_vector_t(qpol_iterator_t *) must have a return type. Ignored. ../apol.i:314: Warning 504: Function apol_vector::apol_vector_t(apol_vector_t *) must have a return type. Ignored. ../apol.i:317: Warning 504: Function apol_vector::apol_vector_t(apol_vector_t *,apol_vector_t *) must have a return type. Ignored. ../apol.i:329: Warning 521: Illegal destructor name apol_vector::~apol_vector_t(). Ignored. ../apol.i:384: Warning 504: Function apol_string_vector::apol_string_vector_t() must have a return type. Ignored. ../apol.i:387: Warning 504: Function apol_string_vector::apol_string_vector_t(apol_string_vector_t *) must have a return type. Ignored. ../apol.i:390: Warning 504: Function apol_string_vector::apol_string_vector_t(apol_string_vector_t *,apol_string_vector_t *) must have a return type. Ignored. ../apol.i:402: Warning 521: Illegal destructor name apol_string_vector::~apol_string_vector_t(). Ignored. ../apol.i:474: Warning 504: Function apol_policy_path::apol_policy_path_t(apol_policy_path_type_e,char *,apol_string_vector_t *) must have a return type. Ignored. ../apol.i:484: Warning 504: Function apol_policy_path::apol_policy_path_t(char *) must have a return type. Ignored. ../apol.i:494: Warning 504: Function apol_policy_path::apol_policy_path_t(char *,int) must have a return type. Ignored. ../apol.i:504: Warning 504: Function apol_policy_path::apol_policy_path_t(apol_policy_path_t *) must have a return type. Ignored. ../apol.i:507: Warning 521: Illegal destructor name apol_policy_path::~apol_policy_path_t(). Ignored. ../apol.i:566: Warning 504: Function apol_policy::apol_policy_t(apol_policy_path_t *,int) must have a return type. Ignored. ../apol.i:569: Warning 521: Illegal destructor name apol_policy::~apol_policy_t(). Ignored. ../apol.i:665: Warning 504: Function apol_type_query::apol_type_query_t() must have a return type. Ignored. ../apol.i:668: Warning 521: Illegal destructor name apol_type_query::~apol_type_query_t(). Ignored. ../apol.i:707: Warning 504: Function apol_attr_query::apol_attr_query_t() must have a return type. Ignored. ../apol.i:710: Warning 521: Illegal destructor name apol_attr_query::~apol_attr_query_t(). Ignored. ../apol.i:749: Warning 504: Function apol_role_query::apol_role_query_t() must have a return type. Ignored. ../apol.i:752: Warning 521: Illegal destructor name apol_role_query::~apol_role_query_t(). Ignored. ../apol.i:801: Warning 504: Function apol_class_query::apol_class_query_t() must have a return type. Ignored. ../apol.i:804: Warning 521: Illegal destructor name apol_class_query::~apol_class_query_t(). Ignored. ../apol.i:852: Warning 504: Function apol_common_query::apol_common_query_t() must have a return type. Ignored. ../apol.i:855: Warning 521: Illegal destructor name apol_common_query::~apol_common_query_t(). Ignored. ../apol.i:894: Warning 504: Function apol_perm_query::apol_perm_query_t() must have a return type. Ignored. ../apol.i:897: Warning 521: Illegal destructor name apol_perm_query::~apol_perm_query_t(). Ignored. ../apol.i:936: Warning 504: Function apol_bool_query::apol_bool_query_t() must have a return type. Ignored. ../apol.i:939: Warning 521: Illegal destructor name apol_bool_query::~apol_bool_query_t(). Ignored. ../apol.i:978: Warning 504: Function apol_mls_level::apol_mls_level_t() must have a return type. Ignored. ../apol.i:989: Warning 504: Function apol_mls_level::apol_mls_level_t(apol_mls_level_t *) must have a return type. Ignored. ../apol.i:1000: Warning 504: Function apol_mls_level::apol_mls_level_t(apol_policy_t *,char const *) must have a return type. Ignored. ../apol.i:1011: Warning 504: Function apol_mls_level::apol_mls_level_t(char const *) must have a return type. Ignored. ../apol.i:1022: Warning 504: Function apol_mls_level::apol_mls_level_t(apol_policy_t *,qpol_mls_level_t *) must have a return type. Ignored. ../apol.i:1033: Warning 504: Function apol_mls_level::apol_mls_level_t(apol_policy_t *,qpol_level_t *) must have a return type. Ignored. ../apol.i:1036: Warning 521: Illegal destructor name apol_mls_level::~apol_mls_level_t(). Ignored. ../apol.i:1141: Warning 504: Function apol_mls_range::apol_mls_range_t() must have a return type. Ignored. ../apol.i:1152: Warning 504: Function apol_mls_range::apol_mls_range_t(apol_mls_range_t *) must have a return type. Ignored. ../apol.i:1163: Warning 504: Function apol_mls_range::apol_mls_range_t(apol_policy_t *,char const *) must have a return type. Ignored. ../apol.i:1174: Warning 504: Function apol_mls_range::apol_mls_range_t(char const *) must have a return type. Ignored. ../apol.i:1185: Warning 504: Function apol_mls_range::apol_mls_range_t(apol_policy_t *,qpol_mls_range_t *) must have a return type. Ignored. ../apol.i:1188: Warning 521: Illegal destructor name apol_mls_range::~apol_mls_range_t(). Ignored. ../apol.i:1291: Warning 504: Function apol_level_query::apol_level_query_t() must have a return type. Ignored. ../apol.i:1294: Warning 521: Illegal destructor name apol_level_query::~apol_level_query_t(). Ignored. ../apol.i:1342: Warning 504: Function apol_cat_query::apol_cat_query_t() must have a return type. Ignored. ../apol.i:1345: Warning 521: Illegal destructor name apol_cat_query::~apol_cat_query_t(). Ignored. ../apol.i:1392: Warning 504: Function apol_user_query::apol_user_query_t() must have a return type. Ignored. ../apol.i:1395: Warning 521: Illegal destructor name apol_user_query::~apol_user_query_t(). Ignored. ../apol.i:1461: Warning 504: Function apol_context::apol_context_t() must have a return type. Ignored. ../apol.i:1472: Warning 504: Function apol_context::apol_context_t(apol_policy_t *,qpol_context_t *) must have a return type. Ignored. ../apol.i:1483: Warning 504: Function apol_context::apol_context_t(char const *) must have a return type. Ignored. ../apol.i:1486: Warning 521: Illegal destructor name apol_context::~apol_context_t(). Ignored. ../apol.i:1596: Warning 504: Function apol_constraint_query::apol_constraint_query_t() must have a return type. Ignored. ../apol.i:1599: Warning 521: Illegal destructor name apol_constraint_query::~apol_constraint_query_t(). Ignored. ../apol.i:1647: Warning 504: Function apol_validatetrans_query::apol_validatetrans_query_t() must have a return type. Ignored. ../apol.i:1650: Warning 521: Illegal destructor name apol_validatetrans_query::~apol_validatetrans_query_t(). Ignored. ../apol.i:1697: Warning 504: Function apol_genfscon_query::apol_genfscon_query_t() must have a return type. Ignored. ../apol.i:1700: Warning 521: Illegal destructor name apol_genfscon_query::~apol_genfscon_query_t(). Ignored. ../apol.i:1759: Warning 504: Function apol_fs_use_query::apol_fs_use_query_t() must have a return type. Ignored. ../apol.i:1762: Warning 521: Illegal destructor name apol_fs_use_query::~apol_fs_use_query_t(). Ignored. ../apol.i:1812: Warning 504: Function apol_isid_query::apol_isid_query_t() must have a return type. Ignored. ../apol.i:1815: Warning 521: Illegal destructor name apol_isid_query::~apol_isid_query_t(). Ignored. ../apol.i:1854: Warning 504: Function apol_portcon_query::apol_portcon_query_t() must have a return type. Ignored. ../apol.i:1857: Warning 521: Illegal destructor name apol_portcon_query::~apol_portcon_query_t(). Ignored. ../apol.i:1898: Warning 504: Function apol_netifcon_query::apol_netifcon_query_t() must have a return type. Ignored. ../apol.i:1901: Warning 521: Illegal destructor name apol_netifcon_query::~apol_netifcon_query_t(). Ignored. ../apol.i:1945: Warning 504: Function apol_nodecon_query::apol_nodecon_query_t() must have a return type. Ignored. ../apol.i:1948: Warning 521: Illegal destructor name apol_nodecon_query::~apol_nodecon_query_t(). Ignored. ../apol.i:2025: Warning 504: Function apol_avrule_query::apol_avrule_query_t() must have a return type. Ignored. ../apol.i:2028: Warning 521: Illegal destructor name apol_avrule_query::~apol_avrule_query_t(). Ignored. ../apol.i:2176: Warning 504: Function apol_terule_query::apol_terule_query_t() must have a return type. Ignored. ../apol.i:2179: Warning 521: Illegal destructor name apol_terule_query::~apol_terule_query_t(). Ignored. ../apol.i:2300: Warning 504: Function apol_cond_query::apol_cond_query_t() must have a return type. Ignored. ../apol.i:2303: Warning 521: Illegal destructor name apol_cond_query::~apol_cond_query_t(). Ignored. ../apol.i:2344: Warning 504: Function apol_role_allow_query::apol_role_allow_query_t() must have a return type. Ignored. ../apol.i:2347: Warning 521: Illegal destructor name apol_role_allow_query::~apol_role_allow_query_t(). Ignored. ../apol.i:2400: Warning 504: Function apol_role_trans_query::apol_role_trans_query_t() must have a return type. Ignored. ../apol.i:2403: Warning 521: Illegal destructor name apol_role_trans_query::~apol_role_trans_query_t(). Ignored. ../apol.i:2465: Warning 504: Function apol_range_trans_query::apol_range_trans_query_t() must have a return type. Ignored. ../apol.i:2468: Warning 521: Illegal destructor name apol_range_trans_query::~apol_range_trans_query_t(). Ignored. ../apol.i:2544: Warning 504: Function apol_domain_trans_analysis::apol_domain_trans_analysis_t() must have a return type. Ignored. ../apol.i:2547: Warning 521: Illegal destructor name apol_domain_trans_analysis::~apol_domain_trans_analysis_t(). Ignored. ../apol.i:2635: Warning 504: Function apol_domain_trans_result::apol_domain_trans_result_t(apol_domain_trans_result_t *) must have a return type. Ignored. ../apol.i:2638: Warning 521: Illegal destructor name apol_domain_trans_result::~apol_domain_trans_result_t(). Ignored. ../apol.i:2714: Warning 504: Function apol_infoflow::apol_infoflow_t() must have a return type. Ignored. ../apol.i:2717: Warning 521: Illegal destructor name apol_infoflow::~apol_infoflow_t(). Ignored. ../apol.i:2743: Warning 504: Function apol_infoflow_analysis::apol_infoflow_analysis_t() must have a return type. Ignored. ../apol.i:2746: Warning 521: Illegal destructor name apol_infoflow_analysis::~apol_infoflow_analysis_t(). Ignored. ../apol.i:2832: Warning 504: Function apol_infoflow_graph::apol_infoflow_graph_t() must have a return type. Ignored. ../apol.i:2835: Warning 521: Illegal destructor name apol_infoflow_graph::~apol_infoflow_graph_t(). Ignored. ../apol.i:2876: Warning 504: Function apol_infoflow_result::apol_infoflow_result_t() must have a return type. Ignored. ../apol.i:2880: Warning 521: Illegal destructor name apol_infoflow_result::~apol_infoflow_result_t(). Ignored. ../apol.i:2910: Warning 504: Function apol_infoflow_step::apol_infoflow_step_t() must have a return type. Ignored. ../apol.i:2914: Warning 521: Illegal destructor name apol_infoflow_step::~apol_infoflow_step_t(). Ignored. ../apol.i:2951: Warning 504: Function apol_relabel_analysis::apol_relabel_analysis_t() must have a return type. Ignored. ../apol.i:2954: Warning 521: Illegal destructor name apol_relabel_analysis::~apol_relabel_analysis_t(). Ignored. ../apol.i:3020: Warning 504: Function apol_relabel_result::apol_relabel_result_t() must have a return type. Ignored. ../apol.i:3024: Warning 521: Illegal destructor name apol_relabel_result::~apol_relabel_result_t(). Ignored. ../apol.i:3051: Warning 504: Function apol_relabel_result_pair::apol_relabel_result_pair_t() must have a return type. Ignored. ../apol.i:3055: Warning 521: Illegal destructor name apol_relabel_result_pair::~apol_relabel_result_pair_t(). Ignored. ../apol.i:3097: Warning 504: Function apol_types_relation_analysis::apol_types_relation_analysis_t() must have a return type. Ignored. ../apol.i:3100: Warning 521: Illegal destructor name apol_types_relation_analysis::~apol_types_relation_analysis_t(). Ignored. ../apol.i:3148: Warning 504: Function apol_types_relation_result::apol_types_relation_result_t() must have a return type. Ignored. ../apol.i:3151: Warning 521: Illegal destructor name apol_types_relation_result::~apol_types_relation_result_t(). Ignored. ../apol.i:3203: Warning 504: Function apol_types_relation_access::apol_types_relation_access_t() must have a return type. Ignored. ../apol.i:3207: Warning 521: Illegal destructor name apol_types_relation_access::~apol_types_relation_access_t(). Ignored. make all-am make[1]: Entering directory `/var/tmp/portage/app-admin/setools-3.3.7-r3/work/setools-3.3.7/libapol/swig/python-2.7' x86_64-pc-linux-gnu-gcc -std=gnu99 -shared -o _apol.so.4.3 apol_wrap.c -fno-strict-aliasing -I/usr/include -I/usr/include -I../../../libqpol/include -I../../.. -fpic -I../../../libapol/include -O2 -pipe -I/usr/include/python2.7 ../../../libapol/src/libapol.so ../../../libqpol/src/libqpol.so -Wl,-O1 -Wl,--as-needed -Wl,-soname,_apol.so.4 apol_wrap.c:3513:19: error: conflicting types for 'apol_vector_get_size' ../../../libapol/include/apol/vector.h:166:16: note: previous declaration of 'apol_vector_get_size' was here apol_wrap.c:3523:19: error: conflicting types for 'apol_vector_get_capacity' ../../../libapol/include/apol/vector.h:178:16: note: previous declaration of 'apol_vector_get_capacity' was here apol_wrap.c:3536:18: error: conflicting types for 'apol_vector_get_element' ../../../libapol/include/apol/vector.h:189:15: note: previous declaration of 'apol_vector_get_element' was here apol_wrap.c:3539:17: error: conflicting types for 'apol_vector_append' ../../../libapol/include/apol/vector.h:224:13: note: previous declaration of 'apol_vector_append' was here apol_wrap.c: In function 'apol_vector_append': apol_wrap.c:3541:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:3548:17: error: conflicting types for 'apol_vector_append_unique' ../../../libapol/include/apol/vector.h:246:13: note: previous declaration of 'apol_vector_append_unique' was here apol_wrap.c: In function 'apol_vector_append_unique': apol_wrap.c:3550:3: error: too many arguments to function 'apol_vector_append_unique' apol_wrap.c:3548:17: note: declared here apol_wrap.c:3550:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:3557:17: error: conflicting types for 'apol_vector_cat' ../../../libapol/include/apol/vector.h:257:13: note: previous declaration of 'apol_vector_cat' was here apol_wrap.c: In function 'apol_vector_cat': apol_wrap.c:3559:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:3566:17: error: conflicting types for 'apol_vector_remove' ../../../libapol/include/apol/vector.h:269:13: note: previous declaration of 'apol_vector_remove' was here apol_wrap.c: In function 'apol_vector_remove': apol_wrap.c:3568:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:3575:17: error: conflicting types for 'apol_vector_sort' ../../../libapol/include/apol/vector.h:311:14: note: previous declaration of 'apol_vector_sort' was here apol_wrap.c: In function 'apol_vector_sort': apol_wrap.c:3576:3: error: too many arguments to function 'apol_vector_sort' apol_wrap.c:3575:17: note: declared here apol_wrap.c: At top level: apol_wrap.c:3578:17: error: conflicting types for 'apol_vector_sort_uniquify' ../../../libapol/include/apol/vector.h:329:14: note: previous declaration of 'apol_vector_sort_uniquify' was here apol_wrap.c: In function 'apol_vector_sort_uniquify': apol_wrap.c:3579:3: error: too many arguments to function 'apol_vector_sort_uniquify' apol_wrap.c:3578:17: note: declared here apol_wrap.c: In function 'apol_string_vector_append': apol_wrap.c:3605:3: error: void value not ignored as it ought to be apol_wrap.c: In function 'apol_string_vector_append_unique': apol_wrap.c:3615:3: error: too many arguments to function 'apol_vector_append_unique' apol_wrap.c:3548:17: note: declared here apol_wrap.c:3615:3: error: void value not ignored as it ought to be apol_wrap.c: In function 'apol_string_vector_cat': apol_wrap.c:3624:3: error: void value not ignored as it ought to be apol_wrap.c: In function 'apol_string_vector_remove': apol_wrap.c:3634:3: error: void value not ignored as it ought to be apol_wrap.c: In function 'apol_string_vector_sort': apol_wrap.c:3643:3: error: too many arguments to function 'apol_vector_sort' apol_wrap.c:3575:17: note: declared here apol_wrap.c: In function 'apol_string_vector_sort_uniquify': apol_wrap.c:3646:3: error: too many arguments to function 'apol_vector_sort_uniquify' apol_wrap.c:3578:17: note: declared here apol_wrap.c: At top level: apol_wrap.c:3648:36: error: conflicting types for 'apol_policy_path_get_type' ../../../libapol/include/apol/policy-path.h:128:33: note: previous declaration of 'apol_policy_path_get_type' was here apol_wrap.c:3651:24: error: conflicting types for 'apol_policy_path_get_primary' ../../../libapol/include/apol/policy-path.h:140:21: note: previous declaration of 'apol_policy_path_get_primary' was here apol_wrap.c:3654:40: error: conflicting types for 'apol_policy_path_get_modules' ../../../libapol/include/apol/policy-path.h:152:30: note: previous declaration of 'apol_policy_path_get_modules' was here apol_wrap.c:3657:18: error: conflicting types for 'apol_policy_path_to_string' ../../../libapol/include/apol/policy-path.h:178:15: note: previous declaration of 'apol_policy_path_to_string' was here apol_wrap.c:3668:17: error: conflicting types for 'apol_policy_path_to_file' ../../../libapol/include/apol/policy-path.h:165:13: note: previous declaration of 'apol_policy_path_to_file' was here apol_wrap.c: In function 'apol_policy_path_to_file': apol_wrap.c:3670:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:3677:16: error: conflicting types for 'apol_policy_get_policy_type' ../../../libapol/include/apol/policy.h:91:13: note: previous declaration of 'apol_policy_get_policy_type' was here apol_wrap.c:3680:27: error: conflicting types for 'apol_policy_get_qpol' ../../../libapol/include/apol/policy.h:103:24: note: previous declaration of 'apol_policy_get_qpol' was here apol_wrap.c:3683:16: error: conflicting types for 'apol_policy_is_mls' ../../../libapol/include/apol/policy.h:112:13: note: previous declaration of 'apol_policy_is_mls' was here apol_wrap.c:3686:18: error: conflicting types for 'apol_policy_get_version_type_mls_str' ../../../libapol/include/apol/policy.h:122:15: note: previous declaration of 'apol_policy_get_version_type_mls_str' was here apol_wrap.c:3697:17: error: conflicting types for 'apol_policy_open_permmap' ../../../libapol/include/apol/perm-map.h:62:13: note: previous declaration of 'apol_policy_open_permmap' was here apol_wrap.c: In function 'apol_policy_open_permmap': apol_wrap.c:3699:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:3706:17: error: conflicting types for 'apol_policy_save_permmap' ../../../libapol/include/apol/perm-map.h:78:13: note: previous declaration of 'apol_policy_save_permmap' was here apol_wrap.c: In function 'apol_policy_save_permmap': apol_wrap.c:3708:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:3735:17: error: conflicting types for 'apol_policy_set_permmap' ../../../libapol/include/apol/perm-map.h:125:13: note: previous declaration of 'apol_policy_set_permmap' was here apol_wrap.c: In function 'apol_policy_set_permmap': apol_wrap.c:3737:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:3744:17: error: conflicting types for 'apol_policy_build_domain_trans_table' ../../../libapol/include/apol/domain-trans-analysis.h:57:13: note: previous declaration of 'apol_policy_build_domain_trans_table' was here apol_wrap.c: In function 'apol_policy_build_domain_trans_table': apol_wrap.c:3746:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:3753:17: error: static declaration of 'apol_policy_reset_domain_trans_table' follows non-static declaration ../../../libapol/include/apol/domain-trans-analysis.h:76:14: note: previous declaration of 'apol_policy_reset_domain_trans_table' was here apol_wrap.c:3766:17: error: conflicting types for 'apol_type_query_set_type' ../../../libapol/include/apol/type-query.h:90:13: note: previous declaration of 'apol_type_query_set_type' was here apol_wrap.c: In function 'apol_type_query_set_type': apol_wrap.c:3768:3: warning: passing argument 1 of 'apol_type_query_set_type' from incompatible pointer type apol_wrap.c:3766:17: note: expected 'struct apol_type_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:3768:3: warning: passing argument 2 of 'apol_type_query_set_type' from incompatible pointer type apol_wrap.c:3766:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_type_query *' apol_wrap.c:3768:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:3775:17: error: conflicting types for 'apol_type_query_set_regex' ../../../libapol/include/apol/type-query.h:103:13: note: previous declaration of 'apol_type_query_set_regex' was here apol_wrap.c: In function 'apol_type_query_set_regex': apol_wrap.c:3776:3: warning: passing argument 1 of 'apol_type_query_set_regex' from incompatible pointer type apol_wrap.c:3775:17: note: expected 'struct apol_type_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:3776:3: warning: passing argument 2 of 'apol_type_query_set_regex' from incompatible pointer type apol_wrap.c:3775:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_type_query *' apol_wrap.c: At top level: apol_wrap.c:3788:17: error: conflicting types for 'apol_attr_query_set_attr' ../../../libapol/include/apol/type-query.h:153:13: note: previous declaration of 'apol_attr_query_set_attr' was here apol_wrap.c: In function 'apol_attr_query_set_attr': apol_wrap.c:3790:3: warning: passing argument 1 of 'apol_attr_query_set_attr' from incompatible pointer type apol_wrap.c:3788:17: note: expected 'struct apol_attr_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:3790:3: warning: passing argument 2 of 'apol_attr_query_set_attr' from incompatible pointer type apol_wrap.c:3788:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_attr_query *' apol_wrap.c:3790:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:3797:17: error: conflicting types for 'apol_attr_query_set_regex' ../../../libapol/include/apol/type-query.h:166:13: note: previous declaration of 'apol_attr_query_set_regex' was here apol_wrap.c: In function 'apol_attr_query_set_regex': apol_wrap.c:3798:3: warning: passing argument 1 of 'apol_attr_query_set_regex' from incompatible pointer type apol_wrap.c:3797:17: note: expected 'struct apol_attr_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:3798:3: warning: passing argument 2 of 'apol_attr_query_set_regex' from incompatible pointer type apol_wrap.c:3797:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_attr_query *' apol_wrap.c: At top level: apol_wrap.c:3810:17: error: conflicting types for 'apol_role_query_set_role' ../../../libapol/include/apol/role-query.h:86:13: note: previous declaration of 'apol_role_query_set_role' was here apol_wrap.c: In function 'apol_role_query_set_role': apol_wrap.c:3812:3: warning: passing argument 1 of 'apol_role_query_set_role' from incompatible pointer type apol_wrap.c:3810:17: note: expected 'struct apol_role_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:3812:3: warning: passing argument 2 of 'apol_role_query_set_role' from incompatible pointer type apol_wrap.c:3810:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_role_query *' apol_wrap.c:3812:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:3819:17: error: conflicting types for 'apol_role_query_set_type' ../../../libapol/include/apol/role-query.h:99:13: note: previous declaration of 'apol_role_query_set_type' was here apol_wrap.c: In function 'apol_role_query_set_type': apol_wrap.c:3821:3: warning: passing argument 1 of 'apol_role_query_set_type' from incompatible pointer type apol_wrap.c:3819:17: note: expected 'struct apol_role_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:3821:3: warning: passing argument 2 of 'apol_role_query_set_type' from incompatible pointer type apol_wrap.c:3819:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_role_query *' apol_wrap.c:3821:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:3828:17: error: conflicting types for 'apol_role_query_set_regex' ../../../libapol/include/apol/role-query.h:111:13: note: previous declaration of 'apol_role_query_set_regex' was here apol_wrap.c: In function 'apol_role_query_set_regex': apol_wrap.c:3829:3: warning: passing argument 1 of 'apol_role_query_set_regex' from incompatible pointer type apol_wrap.c:3828:17: note: expected 'struct apol_role_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:3829:3: warning: passing argument 2 of 'apol_role_query_set_regex' from incompatible pointer type apol_wrap.c:3828:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_role_query *' apol_wrap.c: At top level: apol_wrap.c:3841:17: error: conflicting types for 'apol_class_query_set_class' ../../../libapol/include/apol/class-perm-query.h:90:13: note: previous declaration of 'apol_class_query_set_class' was here apol_wrap.c: In function 'apol_class_query_set_class': apol_wrap.c:3843:3: warning: passing argument 1 of 'apol_class_query_set_class' from incompatible pointer type apol_wrap.c:3841:17: note: expected 'struct apol_class_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:3843:3: warning: passing argument 2 of 'apol_class_query_set_class' from incompatible pointer type apol_wrap.c:3841:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_class_query *' apol_wrap.c:3843:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:3850:17: error: conflicting types for 'apol_class_query_set_common' ../../../libapol/include/apol/class-perm-query.h:105:13: note: previous declaration of 'apol_class_query_set_common' was here apol_wrap.c: In function 'apol_class_query_set_common': apol_wrap.c:3852:3: warning: passing argument 1 of 'apol_class_query_set_common' from incompatible pointer type apol_wrap.c:3850:17: note: expected 'struct apol_class_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:3852:3: warning: passing argument 2 of 'apol_class_query_set_common' from incompatible pointer type apol_wrap.c:3850:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_class_query *' apol_wrap.c:3852:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:3859:17: error: conflicting types for 'apol_class_query_set_regex' ../../../libapol/include/apol/class-perm-query.h:118:13: note: previous declaration of 'apol_class_query_set_regex' was here apol_wrap.c: In function 'apol_class_query_set_regex': apol_wrap.c:3860:3: warning: passing argument 1 of 'apol_class_query_set_regex' from incompatible pointer type apol_wrap.c:3859:17: note: expected 'struct apol_class_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:3860:3: warning: passing argument 2 of 'apol_class_query_set_regex' from incompatible pointer type apol_wrap.c:3859:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_class_query *' apol_wrap.c: At top level: apol_wrap.c:3872:17: error: conflicting types for 'apol_common_query_set_common' ../../../libapol/include/apol/class-perm-query.h:168:13: note: previous declaration of 'apol_common_query_set_common' was here apol_wrap.c: In function 'apol_common_query_set_common': apol_wrap.c:3874:3: warning: passing argument 1 of 'apol_common_query_set_common' from incompatible pointer type apol_wrap.c:3872:17: note: expected 'struct apol_common_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:3874:3: warning: passing argument 2 of 'apol_common_query_set_common' from incompatible pointer type apol_wrap.c:3872:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_common_query *' apol_wrap.c:3874:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:3881:17: error: conflicting types for 'apol_common_query_set_regex' ../../../libapol/include/apol/class-perm-query.h:181:13: note: previous declaration of 'apol_common_query_set_regex' was here apol_wrap.c: In function 'apol_common_query_set_regex': apol_wrap.c:3882:3: warning: passing argument 1 of 'apol_common_query_set_regex' from incompatible pointer type apol_wrap.c:3881:17: note: expected 'struct apol_common_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:3882:3: warning: passing argument 2 of 'apol_common_query_set_regex' from incompatible pointer type apol_wrap.c:3881:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_common_query *' apol_wrap.c: At top level: apol_wrap.c:3894:17: error: conflicting types for 'apol_perm_query_set_perm' ../../../libapol/include/apol/class-perm-query.h:236:13: note: previous declaration of 'apol_perm_query_set_perm' was here apol_wrap.c: In function 'apol_perm_query_set_perm': apol_wrap.c:3896:3: warning: passing argument 1 of 'apol_perm_query_set_perm' from incompatible pointer type apol_wrap.c:3894:17: note: expected 'struct apol_perm_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:3896:3: warning: passing argument 2 of 'apol_perm_query_set_perm' from incompatible pointer type apol_wrap.c:3894:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_perm_query *' apol_wrap.c:3896:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:3903:17: error: conflicting types for 'apol_perm_query_set_regex' ../../../libapol/include/apol/class-perm-query.h:249:13: note: previous declaration of 'apol_perm_query_set_regex' was here apol_wrap.c: In function 'apol_perm_query_set_regex': apol_wrap.c:3904:3: warning: passing argument 1 of 'apol_perm_query_set_regex' from incompatible pointer type apol_wrap.c:3903:17: note: expected 'struct apol_perm_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:3904:3: warning: passing argument 2 of 'apol_perm_query_set_regex' from incompatible pointer type apol_wrap.c:3903:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_perm_query *' apol_wrap.c: At top level: apol_wrap.c:3916:17: error: conflicting types for 'apol_bool_query_set_bool' ../../../libapol/include/apol/bool-query.h:86:13: note: previous declaration of 'apol_bool_query_set_bool' was here apol_wrap.c: In function 'apol_bool_query_set_bool': apol_wrap.c:3918:3: warning: passing argument 1 of 'apol_bool_query_set_bool' from incompatible pointer type apol_wrap.c:3916:17: note: expected 'struct apol_bool_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:3918:3: warning: passing argument 2 of 'apol_bool_query_set_bool' from incompatible pointer type apol_wrap.c:3916:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_bool_query *' apol_wrap.c:3918:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:3925:17: error: conflicting types for 'apol_bool_query_set_regex' ../../../libapol/include/apol/bool-query.h:99:13: note: previous declaration of 'apol_bool_query_set_regex' was here apol_wrap.c: In function 'apol_bool_query_set_regex': apol_wrap.c:3926:3: warning: passing argument 1 of 'apol_bool_query_set_regex' from incompatible pointer type apol_wrap.c:3925:17: note: expected 'struct apol_bool_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:3926:3: warning: passing argument 2 of 'apol_bool_query_set_regex' from incompatible pointer type apol_wrap.c:3925:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_bool_query *' apol_wrap.c: At top level: apol_wrap.c:3928:17: error: conflicting types for 'apol_mls_level_set_sens' ../../../libapol/include/apol/mls_level.h:147:13: note: previous declaration of 'apol_mls_level_set_sens' was here apol_wrap.c: In function 'apol_mls_level_set_sens': apol_wrap.c:3930:3: warning: passing argument 1 of 'apol_mls_level_set_sens' from incompatible pointer type apol_wrap.c:3928:17: note: expected 'struct apol_mls_level *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:3930:3: warning: passing argument 2 of 'apol_mls_level_set_sens' from incompatible pointer type apol_wrap.c:3928:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_mls_level *' apol_wrap.c:3930:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:3937:24: error: conflicting types for 'apol_mls_level_get_sens' ../../../libapol/include/apol/mls_level.h:157:21: note: previous declaration of 'apol_mls_level_get_sens' was here apol_wrap.c:3940:17: error: conflicting types for 'apol_mls_level_append_cats' ../../../libapol/include/apol/mls_level.h:169:13: note: previous declaration of 'apol_mls_level_append_cats' was here apol_wrap.c: In function 'apol_mls_level_append_cats': apol_wrap.c:3942:3: warning: passing argument 1 of 'apol_mls_level_append_cats' from incompatible pointer type apol_wrap.c:3940:17: note: expected 'struct apol_mls_level *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:3942:3: warning: passing argument 2 of 'apol_mls_level_append_cats' from incompatible pointer type apol_wrap.c:3940:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_mls_level *' apol_wrap.c:3942:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:3949:40: error: conflicting types for 'apol_mls_level_get_cats' ../../../libapol/include/apol/mls_level.h:181:30: note: previous declaration of 'apol_mls_level_get_cats' was here apol_wrap.c:3952:16: error: conflicting types for 'apol_mls_level_validate' ../../../libapol/include/apol/mls_level.h:214:13: note: previous declaration of 'apol_mls_level_validate' was here apol_wrap.c: In function 'apol_mls_level_validate': apol_wrap.c:3955:3: warning: passing argument 1 of 'apol_mls_level_validate' from incompatible pointer type apol_wrap.c:3952:16: note: expected 'struct apol_mls_level *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:3955:3: warning: passing argument 2 of 'apol_mls_level_validate' from incompatible pointer type apol_wrap.c:3952:16: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_mls_level *' apol_wrap.c: At top level: apol_wrap.c:3963:18: error: conflicting types for 'apol_mls_level_render' ../../../libapol/include/apol/mls_level.h:227:15: note: previous declaration of 'apol_mls_level_render' was here apol_wrap.c: In function 'apol_mls_level_render': apol_wrap.c:3966:3: warning: passing argument 1 of 'apol_mls_level_render' from incompatible pointer type apol_wrap.c:3963:18: note: expected 'struct apol_mls_level *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:3966:3: warning: passing argument 2 of 'apol_mls_level_render' from incompatible pointer type apol_wrap.c:3963:18: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_mls_level *' apol_wrap.c: At top level: apol_wrap.c:3974:16: error: conflicting types for 'apol_mls_level_convert' ../../../libapol/include/apol/mls_level.h:242:13: note: previous declaration of 'apol_mls_level_convert' was here apol_wrap.c: In function 'apol_mls_level_convert': apol_wrap.c:3977:3: warning: passing argument 1 of 'apol_mls_level_convert' from incompatible pointer type apol_wrap.c:3974:16: note: expected 'struct apol_mls_level *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:3977:3: warning: passing argument 2 of 'apol_mls_level_convert' from incompatible pointer type apol_wrap.c:3974:16: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_mls_level *' apol_wrap.c: At top level: apol_wrap.c:3985:16: error: conflicting types for 'apol_mls_level_is_literal' ../../../libapol/include/apol/mls_level.h:255:13: note: previous declaration of 'apol_mls_level_is_literal' was here apol_wrap.c:4001:17: error: conflicting types for 'apol_mls_range_set_low' ../../../libapol/include/apol/mls_range.h:135:13: note: previous declaration of 'apol_mls_range_set_low' was here apol_wrap.c: In function 'apol_mls_range_set_low': apol_wrap.c:4003:3: warning: passing argument 1 of 'apol_mls_range_set_low' from incompatible pointer type apol_wrap.c:4001:17: note: expected 'struct apol_mls_range *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4003:3: warning: passing argument 2 of 'apol_mls_range_set_low' from incompatible pointer type apol_wrap.c:4001:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_mls_range *' apol_wrap.c:4003:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4010:17: error: conflicting types for 'apol_mls_range_set_high' ../../../libapol/include/apol/mls_range.h:149:13: note: previous declaration of 'apol_mls_range_set_high' was here apol_wrap.c: In function 'apol_mls_range_set_high': apol_wrap.c:4012:3: warning: passing argument 1 of 'apol_mls_range_set_high' from incompatible pointer type apol_wrap.c:4010:17: note: expected 'struct apol_mls_range *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4012:3: warning: passing argument 2 of 'apol_mls_range_set_high' from incompatible pointer type apol_wrap.c:4010:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_mls_range *' apol_wrap.c:4012:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4019:36: error: conflicting types for 'apol_mls_range_get_low' ../../../libapol/include/apol/mls_range.h:159:33: note: previous declaration of 'apol_mls_range_get_low' was here apol_wrap.c:4022:36: error: conflicting types for 'apol_mls_range_get_high' ../../../libapol/include/apol/mls_range.h:169:33: note: previous declaration of 'apol_mls_range_get_high' was here apol_wrap.c:4025:18: error: conflicting types for 'apol_mls_range_render' ../../../libapol/include/apol/mls_range.h:241:15: note: previous declaration of 'apol_mls_range_render' was here apol_wrap.c: In function 'apol_mls_range_render': apol_wrap.c:4028:3: warning: passing argument 1 of 'apol_mls_range_render' from incompatible pointer type apol_wrap.c:4025:18: note: expected 'struct apol_mls_range *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4028:3: warning: passing argument 2 of 'apol_mls_range_render' from incompatible pointer type apol_wrap.c:4025:18: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_mls_range *' apol_wrap.c: At top level: apol_wrap.c:4036:27: error: conflicting types for 'apol_mls_range_get_levels' ../../../libapol/include/apol/mls_range.h:227:24: note: previous declaration of 'apol_mls_range_get_levels' was here apol_wrap.c: In function 'apol_mls_range_get_levels': apol_wrap.c:4039:3: warning: passing argument 1 of 'apol_mls_range_get_levels' from incompatible pointer type apol_wrap.c:4036:27: note: expected 'struct apol_mls_range *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4039:3: warning: passing argument 2 of 'apol_mls_range_get_levels' from incompatible pointer type apol_wrap.c:4036:27: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_mls_range *' apol_wrap.c: At top level: apol_wrap.c:4047:16: error: conflicting types for 'apol_mls_range_validate' ../../../libapol/include/apol/mls_range.h:214:13: note: previous declaration of 'apol_mls_range_validate' was here apol_wrap.c: In function 'apol_mls_range_validate': apol_wrap.c:4048:3: warning: passing argument 1 of 'apol_mls_range_validate' from incompatible pointer type apol_wrap.c:4047:16: note: expected 'struct apol_mls_range *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4048:3: warning: passing argument 2 of 'apol_mls_range_validate' from incompatible pointer type apol_wrap.c:4047:16: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_mls_range *' apol_wrap.c: At top level: apol_wrap.c:4057:16: error: conflicting types for 'apol_mls_range_is_literal' ../../../libapol/include/apol/mls_range.h:264:13: note: previous declaration of 'apol_mls_range_is_literal' was here apol_wrap.c:4068:16: error: conflicting types for 'apol_mls_range_convert' ../../../libapol/include/apol/mls_range.h:253:13: note: previous declaration of 'apol_mls_range_convert' was here apol_wrap.c: In function 'apol_mls_range_convert': apol_wrap.c:4071:3: warning: passing argument 1 of 'apol_mls_range_convert' from incompatible pointer type apol_wrap.c:4068:16: note: expected 'struct apol_mls_range *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4071:3: warning: passing argument 2 of 'apol_mls_range_convert' from incompatible pointer type apol_wrap.c:4068:16: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_mls_range *' apol_wrap.c: At top level: apol_wrap.c:4094:17: error: conflicting types for 'apol_level_query_set_sens' ../../../libapol/include/apol/mls-query.h:126:13: note: previous declaration of 'apol_level_query_set_sens' was here apol_wrap.c: In function 'apol_level_query_set_sens': apol_wrap.c:4096:3: warning: passing argument 1 of 'apol_level_query_set_sens' from incompatible pointer type apol_wrap.c:4094:17: note: expected 'struct apol_level_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4096:3: warning: passing argument 2 of 'apol_level_query_set_sens' from incompatible pointer type apol_wrap.c:4094:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_level_query *' apol_wrap.c:4096:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4103:17: error: conflicting types for 'apol_level_query_set_cat' ../../../libapol/include/apol/mls-query.h:140:13: note: previous declaration of 'apol_level_query_set_cat' was here apol_wrap.c: In function 'apol_level_query_set_cat': apol_wrap.c:4105:3: warning: passing argument 1 of 'apol_level_query_set_cat' from incompatible pointer type apol_wrap.c:4103:17: note: expected 'struct apol_level_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4105:3: warning: passing argument 2 of 'apol_level_query_set_cat' from incompatible pointer type apol_wrap.c:4103:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_level_query *' apol_wrap.c:4105:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4112:17: error: conflicting types for 'apol_level_query_set_regex' ../../../libapol/include/apol/mls-query.h:154:13: note: previous declaration of 'apol_level_query_set_regex' was here apol_wrap.c: In function 'apol_level_query_set_regex': apol_wrap.c:4113:3: warning: passing argument 1 of 'apol_level_query_set_regex' from incompatible pointer type apol_wrap.c:4112:17: note: expected 'struct apol_level_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4113:3: warning: passing argument 2 of 'apol_level_query_set_regex' from incompatible pointer type apol_wrap.c:4112:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_level_query *' apol_wrap.c: At top level: apol_wrap.c:4125:17: error: conflicting types for 'apol_cat_query_set_cat' ../../../libapol/include/apol/mls-query.h:208:13: note: previous declaration of 'apol_cat_query_set_cat' was here apol_wrap.c: In function 'apol_cat_query_set_cat': apol_wrap.c:4127:3: warning: passing argument 1 of 'apol_cat_query_set_cat' from incompatible pointer type apol_wrap.c:4125:17: note: expected 'struct apol_cat_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4127:3: warning: passing argument 2 of 'apol_cat_query_set_cat' from incompatible pointer type apol_wrap.c:4125:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_cat_query *' apol_wrap.c:4127:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4134:17: error: conflicting types for 'apol_cat_query_set_regex' ../../../libapol/include/apol/mls-query.h:222:13: note: previous declaration of 'apol_cat_query_set_regex' was here apol_wrap.c: In function 'apol_cat_query_set_regex': apol_wrap.c:4135:3: warning: passing argument 1 of 'apol_cat_query_set_regex' from incompatible pointer type apol_wrap.c:4134:17: note: expected 'struct apol_cat_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4135:3: warning: passing argument 2 of 'apol_cat_query_set_regex' from incompatible pointer type apol_wrap.c:4134:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_cat_query *' apol_wrap.c: At top level: apol_wrap.c:4147:17: error: conflicting types for 'apol_user_query_set_user' ../../../libapol/include/apol/user-query.h:87:13: note: previous declaration of 'apol_user_query_set_user' was here apol_wrap.c: In function 'apol_user_query_set_user': apol_wrap.c:4149:3: warning: passing argument 1 of 'apol_user_query_set_user' from incompatible pointer type apol_wrap.c:4147:17: note: expected 'struct apol_user_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4149:3: warning: passing argument 2 of 'apol_user_query_set_user' from incompatible pointer type apol_wrap.c:4147:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_user_query *' apol_wrap.c:4149:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4156:17: error: conflicting types for 'apol_user_query_set_role' ../../../libapol/include/apol/user-query.h:100:13: note: previous declaration of 'apol_user_query_set_role' was here apol_wrap.c: In function 'apol_user_query_set_role': apol_wrap.c:4158:3: warning: passing argument 1 of 'apol_user_query_set_role' from incompatible pointer type apol_wrap.c:4156:17: note: expected 'struct apol_user_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4158:3: warning: passing argument 2 of 'apol_user_query_set_role' from incompatible pointer type apol_wrap.c:4156:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_user_query *' apol_wrap.c:4158:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4165:17: error: conflicting types for 'apol_user_query_set_default_level' ../../../libapol/include/apol/user-query.h:114:13: note: previous declaration of 'apol_user_query_set_default_level' was here apol_wrap.c: In function 'apol_user_query_set_default_level': apol_wrap.c:4167:3: warning: passing argument 1 of 'apol_user_query_set_default_level' from incompatible pointer type apol_wrap.c:4165:17: note: expected 'struct apol_user_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4167:3: warning: passing argument 2 of 'apol_user_query_set_default_level' from incompatible pointer type apol_wrap.c:4165:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_user_query *' apol_wrap.c:4167:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4174:17: error: conflicting types for 'apol_user_query_set_range' ../../../libapol/include/apol/user-query.h:131:13: note: previous declaration of 'apol_user_query_set_range' was here apol_wrap.c: In function 'apol_user_query_set_range': apol_wrap.c:4176:3: warning: passing argument 1 of 'apol_user_query_set_range' from incompatible pointer type apol_wrap.c:4174:17: note: expected 'struct apol_user_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4176:3: warning: passing argument 2 of 'apol_user_query_set_range' from incompatible pointer type apol_wrap.c:4174:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_user_query *' apol_wrap.c:4176:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4183:17: error: conflicting types for 'apol_user_query_set_regex' ../../../libapol/include/apol/user-query.h:144:13: note: previous declaration of 'apol_user_query_set_regex' was here apol_wrap.c: In function 'apol_user_query_set_regex': apol_wrap.c:4184:3: warning: passing argument 1 of 'apol_user_query_set_regex' from incompatible pointer type apol_wrap.c:4183:17: note: expected 'struct apol_user_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4184:3: warning: passing argument 2 of 'apol_user_query_set_regex' from incompatible pointer type apol_wrap.c:4183:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_user_query *' apol_wrap.c: At top level: apol_wrap.c:4186:17: error: conflicting types for 'apol_context_set_user' ../../../libapol/include/apol/context-query.h:98:13: note: previous declaration of 'apol_context_set_user' was here apol_wrap.c: In function 'apol_context_set_user': apol_wrap.c:4188:3: warning: passing argument 1 of 'apol_context_set_user' from incompatible pointer type apol_wrap.c:4186:17: note: expected 'struct apol_context *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4188:3: warning: passing argument 2 of 'apol_context_set_user' from incompatible pointer type apol_wrap.c:4186:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_context *' apol_wrap.c:4188:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4195:24: error: conflicting types for 'apol_context_get_user' ../../../libapol/include/apol/context-query.h:145:21: note: previous declaration of 'apol_context_get_user' was here apol_wrap.c:4198:17: error: conflicting types for 'apol_context_set_role' ../../../libapol/include/apol/context-query.h:110:13: note: previous declaration of 'apol_context_set_role' was here apol_wrap.c: In function 'apol_context_set_role': apol_wrap.c:4200:3: warning: passing argument 1 of 'apol_context_set_role' from incompatible pointer type apol_wrap.c:4198:17: note: expected 'struct apol_context *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4200:3: warning: passing argument 2 of 'apol_context_set_role' from incompatible pointer type apol_wrap.c:4198:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_context *' apol_wrap.c:4200:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4207:24: error: conflicting types for 'apol_context_get_role' ../../../libapol/include/apol/context-query.h:155:21: note: previous declaration of 'apol_context_get_role' was here apol_wrap.c:4210:17: error: conflicting types for 'apol_context_set_type' ../../../libapol/include/apol/context-query.h:122:13: note: previous declaration of 'apol_context_set_type' was here apol_wrap.c: In function 'apol_context_set_type': apol_wrap.c:4212:3: warning: passing argument 1 of 'apol_context_set_type' from incompatible pointer type apol_wrap.c:4210:17: note: expected 'struct apol_context *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4212:3: warning: passing argument 2 of 'apol_context_set_type' from incompatible pointer type apol_wrap.c:4210:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_context *' apol_wrap.c:4212:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4219:24: error: conflicting types for 'apol_context_get_type' ../../../libapol/include/apol/context-query.h:165:21: note: previous declaration of 'apol_context_get_type' was here apol_wrap.c:4222:17: error: conflicting types for 'apol_context_set_range' ../../../libapol/include/apol/context-query.h:135:13: note: previous declaration of 'apol_context_set_range' was here apol_wrap.c: In function 'apol_context_set_range': apol_wrap.c:4224:3: warning: passing argument 1 of 'apol_context_set_range' from incompatible pointer type apol_wrap.c:4222:17: note: expected 'struct apol_context *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4224:3: warning: passing argument 2 of 'apol_context_set_range' from incompatible pointer type apol_wrap.c:4222:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_context *' apol_wrap.c:4224:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4231:36: error: conflicting types for 'apol_context_get_range' ../../../libapol/include/apol/context-query.h:175:33: note: previous declaration of 'apol_context_get_range' was here apol_wrap.c:4234:16: error: conflicting types for 'apol_context_validate' ../../../libapol/include/apol/context-query.h:211:13: note: previous declaration of 'apol_context_validate' was here apol_wrap.c: In function 'apol_context_validate': apol_wrap.c:4237:3: warning: passing argument 1 of 'apol_context_validate' from incompatible pointer type apol_wrap.c:4234:16: note: expected 'struct apol_context *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4237:3: warning: passing argument 2 of 'apol_context_validate' from incompatible pointer type apol_wrap.c:4234:16: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_context *' apol_wrap.c: At top level: apol_wrap.c:4245:16: error: conflicting types for 'apol_context_validate_partial' ../../../libapol/include/apol/context-query.h:226:13: note: previous declaration of 'apol_context_validate_partial' was here apol_wrap.c: In function 'apol_context_validate_partial': apol_wrap.c:4248:3: warning: passing argument 1 of 'apol_context_validate_partial' from incompatible pointer type apol_wrap.c:4245:16: note: expected 'struct apol_context *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4248:3: warning: passing argument 2 of 'apol_context_validate_partial' from incompatible pointer type apol_wrap.c:4245:16: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_context *' apol_wrap.c: At top level: apol_wrap.c:4256:18: error: conflicting types for 'apol_context_render' ../../../libapol/include/apol/context-query.h:243:15: note: previous declaration of 'apol_context_render' was here apol_wrap.c: In function 'apol_context_render': apol_wrap.c:4259:3: warning: passing argument 1 of 'apol_context_render' from incompatible pointer type apol_wrap.c:4256:18: note: expected 'struct apol_context *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4259:3: warning: passing argument 2 of 'apol_context_render' from incompatible pointer type apol_wrap.c:4256:18: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_context *' apol_wrap.c: At top level: apol_wrap.c:4267:16: error: conflicting types for 'apol_context_convert' ../../../libapol/include/apol/context-query.h:255:13: note: previous declaration of 'apol_context_convert' was here apol_wrap.c: In function 'apol_context_convert': apol_wrap.c:4270:3: warning: passing argument 1 of 'apol_context_convert' from incompatible pointer type apol_wrap.c:4267:16: note: expected 'struct apol_context *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4270:3: warning: passing argument 2 of 'apol_context_convert' from incompatible pointer type apol_wrap.c:4267:16: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_context *' apol_wrap.c: At top level: apol_wrap.c:4288:17: error: conflicting types for 'apol_constraint_query_set_class' ../../../libapol/include/apol/constraint-query.h:89:13: note: previous declaration of 'apol_constraint_query_set_class' was here apol_wrap.c: In function 'apol_constraint_query_set_class': apol_wrap.c:4290:3: warning: passing argument 1 of 'apol_constraint_query_set_class' from incompatible pointer type apol_wrap.c:4288:17: note: expected 'struct apol_constraint_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4290:3: warning: passing argument 2 of 'apol_constraint_query_set_class' from incompatible pointer type apol_wrap.c:4288:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_constraint_query *' apol_wrap.c:4290:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4297:17: error: conflicting types for 'apol_constraint_query_set_perm' ../../../libapol/include/apol/constraint-query.h:103:13: note: previous declaration of 'apol_constraint_query_set_perm' was here apol_wrap.c: In function 'apol_constraint_query_set_perm': apol_wrap.c:4299:3: warning: passing argument 1 of 'apol_constraint_query_set_perm' from incompatible pointer type apol_wrap.c:4297:17: note: expected 'struct apol_constraint_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4299:3: warning: passing argument 2 of 'apol_constraint_query_set_perm' from incompatible pointer type apol_wrap.c:4297:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_constraint_query *' apol_wrap.c:4299:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4306:17: error: conflicting types for 'apol_constraint_query_set_regex' ../../../libapol/include/apol/constraint-query.h:116:13: note: previous declaration of 'apol_constraint_query_set_regex' was here apol_wrap.c: In function 'apol_constraint_query_set_regex': apol_wrap.c:4307:3: warning: passing argument 1 of 'apol_constraint_query_set_regex' from incompatible pointer type apol_wrap.c:4306:17: note: expected 'struct apol_constraint_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4307:3: warning: passing argument 2 of 'apol_constraint_query_set_regex' from incompatible pointer type apol_wrap.c:4306:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_constraint_query *' apol_wrap.c: At top level: apol_wrap.c:4319:17: error: conflicting types for 'apol_validatetrans_query_set_class' ../../../libapol/include/apol/constraint-query.h:169:13: note: previous declaration of 'apol_validatetrans_query_set_class' was here apol_wrap.c: In function 'apol_validatetrans_query_set_class': apol_wrap.c:4321:3: warning: passing argument 1 of 'apol_validatetrans_query_set_class' from incompatible pointer type apol_wrap.c:4319:17: note: expected 'struct apol_validatetrans_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4321:3: warning: passing argument 2 of 'apol_validatetrans_query_set_class' from incompatible pointer type apol_wrap.c:4319:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_validatetrans_query *' apol_wrap.c:4321:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4328:17: error: conflicting types for 'apol_validatetrans_query_set_regex' ../../../libapol/include/apol/constraint-query.h:182:13: note: previous declaration of 'apol_validatetrans_query_set_regex' was here apol_wrap.c: In function 'apol_validatetrans_query_set_regex': apol_wrap.c:4329:3: warning: passing argument 1 of 'apol_validatetrans_query_set_regex' from incompatible pointer type apol_wrap.c:4328:17: note: expected 'struct apol_validatetrans_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4329:3: warning: passing argument 2 of 'apol_validatetrans_query_set_regex' from incompatible pointer type apol_wrap.c:4328:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_validatetrans_query *' apol_wrap.c: At top level: apol_wrap.c:4341:17: error: conflicting types for 'apol_genfscon_query_set_filesystem' ../../../libapol/include/apol/fscon-query.h:91:13: note: previous declaration of 'apol_genfscon_query_set_filesystem' was here apol_wrap.c: In function 'apol_genfscon_query_set_filesystem': apol_wrap.c:4343:3: warning: passing argument 1 of 'apol_genfscon_query_set_filesystem' from incompatible pointer type apol_wrap.c:4341:17: note: expected 'struct apol_genfscon_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4343:3: warning: passing argument 2 of 'apol_genfscon_query_set_filesystem' from incompatible pointer type apol_wrap.c:4341:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_genfscon_query *' apol_wrap.c:4343:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4350:17: error: conflicting types for 'apol_genfscon_query_set_path' ../../../libapol/include/apol/fscon-query.h:105:13: note: previous declaration of 'apol_genfscon_query_set_path' was here apol_wrap.c: In function 'apol_genfscon_query_set_path': apol_wrap.c:4352:3: warning: passing argument 1 of 'apol_genfscon_query_set_path' from incompatible pointer type apol_wrap.c:4350:17: note: expected 'struct apol_genfscon_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4352:3: warning: passing argument 2 of 'apol_genfscon_query_set_path' from incompatible pointer type apol_wrap.c:4350:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_genfscon_query *' apol_wrap.c:4352:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4359:17: error: conflicting types for 'apol_genfscon_query_set_objclass' ../../../libapol/include/apol/fscon-query.h:119:13: note: previous declaration of 'apol_genfscon_query_set_objclass' was here apol_wrap.c: In function 'apol_genfscon_query_set_objclass': apol_wrap.c:4361:3: warning: passing argument 1 of 'apol_genfscon_query_set_objclass' from incompatible pointer type apol_wrap.c:4359:17: note: expected 'struct apol_genfscon_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4361:3: warning: passing argument 2 of 'apol_genfscon_query_set_objclass' from incompatible pointer type apol_wrap.c:4359:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_genfscon_query *' apol_wrap.c:4361:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4368:17: error: conflicting types for 'apol_genfscon_query_set_context' ../../../libapol/include/apol/fscon-query.h:136:13: note: previous declaration of 'apol_genfscon_query_set_context' was here apol_wrap.c: In function 'apol_genfscon_query_set_context': apol_wrap.c:4369:3: warning: passing argument 1 of 'apol_genfscon_query_set_context' from incompatible pointer type apol_wrap.c:4368:17: note: expected 'struct apol_genfscon_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4369:3: warning: passing argument 2 of 'apol_genfscon_query_set_context' from incompatible pointer type apol_wrap.c:4368:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_genfscon_query *' apol_wrap.c: At top level: apol_wrap.c:4381:17: error: conflicting types for 'apol_fs_use_query_set_filesystem' ../../../libapol/include/apol/fscon-query.h:198:13: note: previous declaration of 'apol_fs_use_query_set_filesystem' was here apol_wrap.c: In function 'apol_fs_use_query_set_filesystem': apol_wrap.c:4383:3: warning: passing argument 1 of 'apol_fs_use_query_set_filesystem' from incompatible pointer type apol_wrap.c:4381:17: note: expected 'struct apol_fs_use_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4383:3: warning: passing argument 2 of 'apol_fs_use_query_set_filesystem' from incompatible pointer type apol_wrap.c:4381:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_fs_use_query *' apol_wrap.c:4383:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4390:17: error: conflicting types for 'apol_fs_use_query_set_behavior' ../../../libapol/include/apol/fscon-query.h:212:13: note: previous declaration of 'apol_fs_use_query_set_behavior' was here apol_wrap.c: In function 'apol_fs_use_query_set_behavior': apol_wrap.c:4392:3: warning: passing argument 1 of 'apol_fs_use_query_set_behavior' from incompatible pointer type apol_wrap.c:4390:17: note: expected 'struct apol_fs_use_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4392:3: warning: passing argument 2 of 'apol_fs_use_query_set_behavior' from incompatible pointer type apol_wrap.c:4390:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_fs_use_query *' apol_wrap.c:4392:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4399:17: error: conflicting types for 'apol_fs_use_query_set_context' ../../../libapol/include/apol/fscon-query.h:231:13: note: previous declaration of 'apol_fs_use_query_set_context' was here apol_wrap.c: In function 'apol_fs_use_query_set_context': apol_wrap.c:4400:3: warning: passing argument 1 of 'apol_fs_use_query_set_context' from incompatible pointer type apol_wrap.c:4399:17: note: expected 'struct apol_fs_use_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4400:3: warning: passing argument 2 of 'apol_fs_use_query_set_context' from incompatible pointer type apol_wrap.c:4399:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_fs_use_query *' apol_wrap.c: At top level: apol_wrap.c:4412:17: error: conflicting types for 'apol_isid_query_set_name' ../../../libapol/include/apol/isid-query.h:87:13: note: previous declaration of 'apol_isid_query_set_name' was here apol_wrap.c: In function 'apol_isid_query_set_name': apol_wrap.c:4414:3: warning: passing argument 1 of 'apol_isid_query_set_name' from incompatible pointer type apol_wrap.c:4412:17: note: expected 'struct apol_isid_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4414:3: warning: passing argument 2 of 'apol_isid_query_set_name' from incompatible pointer type apol_wrap.c:4412:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_isid_query *' apol_wrap.c:4414:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4421:17: error: conflicting types for 'apol_isid_query_set_context' ../../../libapol/include/apol/isid-query.h:104:13: note: previous declaration of 'apol_isid_query_set_context' was here apol_wrap.c: In function 'apol_isid_query_set_context': apol_wrap.c:4422:3: warning: passing argument 1 of 'apol_isid_query_set_context' from incompatible pointer type apol_wrap.c:4421:17: note: expected 'struct apol_isid_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4422:3: warning: passing argument 2 of 'apol_isid_query_set_context' from incompatible pointer type apol_wrap.c:4421:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_isid_query *' apol_wrap.c: At top level: apol_wrap.c:4434:17: error: conflicting types for 'apol_portcon_query_set_protocol' ../../../libapol/include/apol/netcon-query.h:90:13: note: previous declaration of 'apol_portcon_query_set_protocol' was here apol_wrap.c: In function 'apol_portcon_query_set_protocol': apol_wrap.c:4435:3: warning: passing argument 1 of 'apol_portcon_query_set_protocol' from incompatible pointer type apol_wrap.c:4434:17: note: expected 'struct apol_portcon_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4435:3: warning: passing argument 2 of 'apol_portcon_query_set_protocol' from incompatible pointer type apol_wrap.c:4434:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_portcon_query *' apol_wrap.c: At top level: apol_wrap.c:4437:17: error: conflicting types for 'apol_portcon_query_set_low' ../../../libapol/include/apol/netcon-query.h:103:13: note: previous declaration of 'apol_portcon_query_set_low' was here apol_wrap.c: In function 'apol_portcon_query_set_low': apol_wrap.c:4438:3: warning: passing argument 1 of 'apol_portcon_query_set_low' from incompatible pointer type apol_wrap.c:4437:17: note: expected 'struct apol_portcon_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4438:3: warning: passing argument 2 of 'apol_portcon_query_set_low' from incompatible pointer type apol_wrap.c:4437:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_portcon_query *' apol_wrap.c: At top level: apol_wrap.c:4440:17: error: conflicting types for 'apol_portcon_query_set_high' ../../../libapol/include/apol/netcon-query.h:116:13: note: previous declaration of 'apol_portcon_query_set_high' was here apol_wrap.c: In function 'apol_portcon_query_set_high': apol_wrap.c:4441:3: warning: passing argument 1 of 'apol_portcon_query_set_high' from incompatible pointer type apol_wrap.c:4440:17: note: expected 'struct apol_portcon_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4441:3: warning: passing argument 2 of 'apol_portcon_query_set_high' from incompatible pointer type apol_wrap.c:4440:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_portcon_query *' apol_wrap.c: At top level: apol_wrap.c:4443:17: error: conflicting types for 'apol_portcon_query_set_context' ../../../libapol/include/apol/netcon-query.h:133:13: note: previous declaration of 'apol_portcon_query_set_context' was here apol_wrap.c: In function 'apol_portcon_query_set_context': apol_wrap.c:4444:3: warning: passing argument 1 of 'apol_portcon_query_set_context' from incompatible pointer type apol_wrap.c:4443:17: note: expected 'struct apol_portcon_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4444:3: warning: passing argument 2 of 'apol_portcon_query_set_context' from incompatible pointer type apol_wrap.c:4443:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_portcon_query *' apol_wrap.c: At top level: apol_wrap.c:4456:17: error: conflicting types for 'apol_netifcon_query_set_device' ../../../libapol/include/apol/netcon-query.h:195:13: note: previous declaration of 'apol_netifcon_query_set_device' was here apol_wrap.c: In function 'apol_netifcon_query_set_device': apol_wrap.c:4458:3: warning: passing argument 1 of 'apol_netifcon_query_set_device' from incompatible pointer type apol_wrap.c:4456:17: note: expected 'struct apol_netifcon_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4458:3: warning: passing argument 2 of 'apol_netifcon_query_set_device' from incompatible pointer type apol_wrap.c:4456:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_netifcon_query *' apol_wrap.c:4458:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4465:17: error: conflicting types for 'apol_netifcon_query_set_if_context' ../../../libapol/include/apol/netcon-query.h:212:13: note: previous declaration of 'apol_netifcon_query_set_if_context' was here apol_wrap.c: In function 'apol_netifcon_query_set_if_context': apol_wrap.c:4466:3: warning: passing argument 1 of 'apol_netifcon_query_set_if_context' from incompatible pointer type apol_wrap.c:4465:17: note: expected 'struct apol_netifcon_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4466:3: warning: passing argument 2 of 'apol_netifcon_query_set_if_context' from incompatible pointer type apol_wrap.c:4465:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_netifcon_query *' apol_wrap.c: At top level: apol_wrap.c:4468:17: error: conflicting types for 'apol_netifcon_query_set_msg_context' ../../../libapol/include/apol/netcon-query.h:231:13: note: previous declaration of 'apol_netifcon_query_set_msg_context' was here apol_wrap.c: In function 'apol_netifcon_query_set_msg_context': apol_wrap.c:4469:3: warning: passing argument 1 of 'apol_netifcon_query_set_msg_context' from incompatible pointer type apol_wrap.c:4468:17: note: expected 'struct apol_netifcon_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4469:3: warning: passing argument 2 of 'apol_netifcon_query_set_msg_context' from incompatible pointer type apol_wrap.c:4468:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_netifcon_query *' apol_wrap.c: At top level: apol_wrap.c:4481:17: error: conflicting types for 'apol_nodecon_query_set_protocol' ../../../libapol/include/apol/netcon-query.h:295:13: note: previous declaration of 'apol_nodecon_query_set_protocol' was here apol_wrap.c: In function 'apol_nodecon_query_set_protocol': apol_wrap.c:4483:3: warning: passing argument 1 of 'apol_nodecon_query_set_protocol' from incompatible pointer type apol_wrap.c:4481:17: note: expected 'struct apol_nodecon_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4483:3: warning: passing argument 2 of 'apol_nodecon_query_set_protocol' from incompatible pointer type apol_wrap.c:4481:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_nodecon_query *' apol_wrap.c:4483:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4526:17: error: conflicting types for 'apol_nodecon_query_set_context' ../../../libapol/include/apol/netcon-query.h:346:13: note: previous declaration of 'apol_nodecon_query_set_context' was here apol_wrap.c: In function 'apol_nodecon_query_set_context': apol_wrap.c:4527:3: warning: passing argument 1 of 'apol_nodecon_query_set_context' from incompatible pointer type apol_wrap.c:4526:17: note: expected 'struct apol_nodecon_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4527:3: warning: passing argument 2 of 'apol_nodecon_query_set_context' from incompatible pointer type apol_wrap.c:4526:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_nodecon_query *' apol_wrap.c: At top level: apol_wrap.c:4549:17: error: conflicting types for 'apol_avrule_query_set_rules' ../../../libapol/include/apol/avrule-query.h:105:13: note: previous declaration of 'apol_avrule_query_set_rules' was here apol_wrap.c: In function 'apol_avrule_query_set_rules': apol_wrap.c:4550:3: warning: passing argument 1 of 'apol_avrule_query_set_rules' from incompatible pointer type apol_wrap.c:4549:17: note: expected 'struct apol_avrule_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4550:3: warning: passing argument 2 of 'apol_avrule_query_set_rules' from incompatible pointer type apol_wrap.c:4549:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_avrule_query *' apol_wrap.c: At top level: apol_wrap.c:4552:17: error: conflicting types for 'apol_avrule_query_set_source' ../../../libapol/include/apol/avrule-query.h:124:13: note: previous declaration of 'apol_avrule_query_set_source' was here apol_wrap.c: In function 'apol_avrule_query_set_source': apol_wrap.c:4554:3: warning: passing argument 1 of 'apol_avrule_query_set_source' from incompatible pointer type apol_wrap.c:4552:17: note: expected 'struct apol_avrule_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4554:3: warning: passing argument 2 of 'apol_avrule_query_set_source' from incompatible pointer type apol_wrap.c:4552:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_avrule_query *' apol_wrap.c:4554:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4561:17: error: conflicting types for 'apol_avrule_query_set_source_component' ../../../libapol/include/apol/avrule-query.h:140:13: note: previous declaration of 'apol_avrule_query_set_source_component' was here apol_wrap.c: In function 'apol_avrule_query_set_source_component': apol_wrap.c:4563:3: warning: passing argument 1 of 'apol_avrule_query_set_source_component' from incompatible pointer type apol_wrap.c:4561:17: note: expected 'struct apol_avrule_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4563:3: warning: passing argument 2 of 'apol_avrule_query_set_source_component' from incompatible pointer type apol_wrap.c:4561:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_avrule_query *' apol_wrap.c:4563:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4570:17: error: conflicting types for 'apol_avrule_query_set_target' ../../../libapol/include/apol/avrule-query.h:159:13: note: previous declaration of 'apol_avrule_query_set_target' was here apol_wrap.c: In function 'apol_avrule_query_set_target': apol_wrap.c:4572:3: warning: passing argument 1 of 'apol_avrule_query_set_target' from incompatible pointer type apol_wrap.c:4570:17: note: expected 'struct apol_avrule_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4572:3: warning: passing argument 2 of 'apol_avrule_query_set_target' from incompatible pointer type apol_wrap.c:4570:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_avrule_query *' apol_wrap.c:4572:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4579:17: error: conflicting types for 'apol_avrule_query_set_target_component' ../../../libapol/include/apol/avrule-query.h:175:13: note: previous declaration of 'apol_avrule_query_set_target_component' was here apol_wrap.c: In function 'apol_avrule_query_set_target_component': apol_wrap.c:4581:3: warning: passing argument 1 of 'apol_avrule_query_set_target_component' from incompatible pointer type apol_wrap.c:4579:17: note: expected 'struct apol_avrule_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4581:3: warning: passing argument 2 of 'apol_avrule_query_set_target_component' from incompatible pointer type apol_wrap.c:4579:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_avrule_query *' apol_wrap.c:4581:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4588:17: error: conflicting types for 'apol_avrule_query_append_class' ../../../libapol/include/apol/avrule-query.h:192:13: note: previous declaration of 'apol_avrule_query_append_class' was here apol_wrap.c: In function 'apol_avrule_query_append_class': apol_wrap.c:4590:3: warning: passing argument 1 of 'apol_avrule_query_append_class' from incompatible pointer type apol_wrap.c:4588:17: note: expected 'struct apol_avrule_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4590:3: warning: passing argument 2 of 'apol_avrule_query_append_class' from incompatible pointer type apol_wrap.c:4588:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_avrule_query *' apol_wrap.c:4590:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4597:17: error: conflicting types for 'apol_avrule_query_append_perm' ../../../libapol/include/apol/avrule-query.h:212:13: note: previous declaration of 'apol_avrule_query_append_perm' was here apol_wrap.c: In function 'apol_avrule_query_append_perm': apol_wrap.c:4599:3: warning: passing argument 1 of 'apol_avrule_query_append_perm' from incompatible pointer type apol_wrap.c:4597:17: note: expected 'struct apol_avrule_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4599:3: warning: passing argument 2 of 'apol_avrule_query_append_perm' from incompatible pointer type apol_wrap.c:4597:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_avrule_query *' apol_wrap.c:4599:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4606:17: error: conflicting types for 'apol_avrule_query_set_bool' ../../../libapol/include/apol/avrule-query.h:226:13: note: previous declaration of 'apol_avrule_query_set_bool' was here apol_wrap.c: In function 'apol_avrule_query_set_bool': apol_wrap.c:4608:3: warning: passing argument 1 of 'apol_avrule_query_set_bool' from incompatible pointer type apol_wrap.c:4606:17: note: expected 'struct apol_avrule_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4608:3: warning: passing argument 2 of 'apol_avrule_query_set_bool' from incompatible pointer type apol_wrap.c:4606:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_avrule_query *' apol_wrap.c:4608:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4615:17: error: conflicting types for 'apol_avrule_query_set_enabled' ../../../libapol/include/apol/avrule-query.h:240:13: note: previous declaration of 'apol_avrule_query_set_enabled' was here apol_wrap.c: In function 'apol_avrule_query_set_enabled': apol_wrap.c:4616:3: warning: passing argument 1 of 'apol_avrule_query_set_enabled' from incompatible pointer type apol_wrap.c:4615:17: note: expected 'struct apol_avrule_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4616:3: warning: passing argument 2 of 'apol_avrule_query_set_enabled' from incompatible pointer type apol_wrap.c:4615:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_avrule_query *' apol_wrap.c: At top level: apol_wrap.c:4618:17: error: conflicting types for 'apol_avrule_query_set_all_perms' ../../../libapol/include/apol/avrule-query.h:273:13: note: previous declaration of 'apol_avrule_query_set_all_perms' was here apol_wrap.c: In function 'apol_avrule_query_set_all_perms': apol_wrap.c:4619:3: warning: passing argument 1 of 'apol_avrule_query_set_all_perms' from incompatible pointer type apol_wrap.c:4618:17: note: expected 'struct apol_avrule_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4619:3: warning: passing argument 2 of 'apol_avrule_query_set_all_perms' from incompatible pointer type apol_wrap.c:4618:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_avrule_query *' apol_wrap.c: At top level: apol_wrap.c:4621:17: error: conflicting types for 'apol_avrule_query_set_source_any' ../../../libapol/include/apol/avrule-query.h:287:13: note: previous declaration of 'apol_avrule_query_set_source_any' was here apol_wrap.c: In function 'apol_avrule_query_set_source_any': apol_wrap.c:4622:3: warning: passing argument 1 of 'apol_avrule_query_set_source_any' from incompatible pointer type apol_wrap.c:4621:17: note: expected 'struct apol_avrule_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4622:3: warning: passing argument 2 of 'apol_avrule_query_set_source_any' from incompatible pointer type apol_wrap.c:4621:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_avrule_query *' apol_wrap.c: At top level: apol_wrap.c:4624:17: error: conflicting types for 'apol_avrule_query_set_regex' ../../../libapol/include/apol/avrule-query.h:301:13: note: previous declaration of 'apol_avrule_query_set_regex' was here apol_wrap.c: In function 'apol_avrule_query_set_regex': apol_wrap.c:4625:3: warning: passing argument 1 of 'apol_avrule_query_set_regex' from incompatible pointer type apol_wrap.c:4624:17: note: expected 'struct apol_avrule_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4625:3: warning: passing argument 2 of 'apol_avrule_query_set_regex' from incompatible pointer type apol_wrap.c:4624:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_avrule_query *' apol_wrap.c: At top level: apol_wrap.c:4671:17: error: conflicting types for 'apol_terule_query_set_rules' ../../../libapol/include/apol/terule-query.h:106:13: note: previous declaration of 'apol_terule_query_set_rules' was here apol_wrap.c: In function 'apol_terule_query_set_rules': apol_wrap.c:4672:3: warning: passing argument 1 of 'apol_terule_query_set_rules' from incompatible pointer type apol_wrap.c:4671:17: note: expected 'struct apol_terule_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4672:3: warning: passing argument 2 of 'apol_terule_query_set_rules' from incompatible pointer type apol_wrap.c:4671:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_terule_query *' apol_wrap.c: At top level: apol_wrap.c:4674:17: error: conflicting types for 'apol_terule_query_set_source' ../../../libapol/include/apol/terule-query.h:125:13: note: previous declaration of 'apol_terule_query_set_source' was here apol_wrap.c: In function 'apol_terule_query_set_source': apol_wrap.c:4676:3: warning: passing argument 1 of 'apol_terule_query_set_source' from incompatible pointer type apol_wrap.c:4674:17: note: expected 'struct apol_terule_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4676:3: warning: passing argument 2 of 'apol_terule_query_set_source' from incompatible pointer type apol_wrap.c:4674:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_terule_query *' apol_wrap.c:4676:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4683:17: error: conflicting types for 'apol_terule_query_set_source_component' ../../../libapol/include/apol/terule-query.h:141:13: note: previous declaration of 'apol_terule_query_set_source_component' was here apol_wrap.c: In function 'apol_terule_query_set_source_component': apol_wrap.c:4685:3: warning: passing argument 1 of 'apol_terule_query_set_source_component' from incompatible pointer type apol_wrap.c:4683:17: note: expected 'struct apol_terule_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4685:3: warning: passing argument 2 of 'apol_terule_query_set_source_component' from incompatible pointer type apol_wrap.c:4683:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_terule_query *' apol_wrap.c:4685:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4692:17: error: conflicting types for 'apol_terule_query_set_target' ../../../libapol/include/apol/terule-query.h:160:13: note: previous declaration of 'apol_terule_query_set_target' was here apol_wrap.c: In function 'apol_terule_query_set_target': apol_wrap.c:4694:3: warning: passing argument 1 of 'apol_terule_query_set_target' from incompatible pointer type apol_wrap.c:4692:17: note: expected 'struct apol_terule_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4694:3: warning: passing argument 2 of 'apol_terule_query_set_target' from incompatible pointer type apol_wrap.c:4692:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_terule_query *' apol_wrap.c:4694:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4701:17: error: conflicting types for 'apol_terule_query_set_target_component' ../../../libapol/include/apol/terule-query.h:176:13: note: previous declaration of 'apol_terule_query_set_target_component' was here apol_wrap.c: In function 'apol_terule_query_set_target_component': apol_wrap.c:4703:3: warning: passing argument 1 of 'apol_terule_query_set_target_component' from incompatible pointer type apol_wrap.c:4701:17: note: expected 'struct apol_terule_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4703:3: warning: passing argument 2 of 'apol_terule_query_set_target_component' from incompatible pointer type apol_wrap.c:4701:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_terule_query *' apol_wrap.c:4703:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4710:17: error: conflicting types for 'apol_terule_query_append_class' ../../../libapol/include/apol/terule-query.h:206:13: note: previous declaration of 'apol_terule_query_append_class' was here apol_wrap.c: In function 'apol_terule_query_append_class': apol_wrap.c:4712:3: warning: passing argument 1 of 'apol_terule_query_append_class' from incompatible pointer type apol_wrap.c:4710:17: note: expected 'struct apol_terule_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4712:3: warning: passing argument 2 of 'apol_terule_query_append_class' from incompatible pointer type apol_wrap.c:4710:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_terule_query *' apol_wrap.c:4712:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4719:17: error: conflicting types for 'apol_terule_query_set_default' ../../../libapol/include/apol/terule-query.h:189:13: note: previous declaration of 'apol_terule_query_set_default' was here apol_wrap.c: In function 'apol_terule_query_set_default': apol_wrap.c:4721:3: warning: passing argument 1 of 'apol_terule_query_set_default' from incompatible pointer type apol_wrap.c:4719:17: note: expected 'struct apol_terule_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4721:3: warning: passing argument 2 of 'apol_terule_query_set_default' from incompatible pointer type apol_wrap.c:4719:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_terule_query *' apol_wrap.c:4721:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4728:17: error: conflicting types for 'apol_terule_query_set_bool' ../../../libapol/include/apol/terule-query.h:220:13: note: previous declaration of 'apol_terule_query_set_bool' was here apol_wrap.c: In function 'apol_terule_query_set_bool': apol_wrap.c:4730:3: warning: passing argument 1 of 'apol_terule_query_set_bool' from incompatible pointer type apol_wrap.c:4728:17: note: expected 'struct apol_terule_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4730:3: warning: passing argument 2 of 'apol_terule_query_set_bool' from incompatible pointer type apol_wrap.c:4728:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_terule_query *' apol_wrap.c:4730:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4737:17: error: conflicting types for 'apol_terule_query_set_enabled' ../../../libapol/include/apol/terule-query.h:234:13: note: previous declaration of 'apol_terule_query_set_enabled' was here apol_wrap.c: In function 'apol_terule_query_set_enabled': apol_wrap.c:4738:3: warning: passing argument 1 of 'apol_terule_query_set_enabled' from incompatible pointer type apol_wrap.c:4737:17: note: expected 'struct apol_terule_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4738:3: warning: passing argument 2 of 'apol_terule_query_set_enabled' from incompatible pointer type apol_wrap.c:4737:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_terule_query *' apol_wrap.c: At top level: apol_wrap.c:4740:17: error: conflicting types for 'apol_terule_query_set_source_any' ../../../libapol/include/apol/terule-query.h:248:13: note: previous declaration of 'apol_terule_query_set_source_any' was here apol_wrap.c: In function 'apol_terule_query_set_source_any': apol_wrap.c:4741:3: warning: passing argument 1 of 'apol_terule_query_set_source_any' from incompatible pointer type apol_wrap.c:4740:17: note: expected 'struct apol_terule_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4741:3: warning: passing argument 2 of 'apol_terule_query_set_source_any' from incompatible pointer type apol_wrap.c:4740:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_terule_query *' apol_wrap.c: At top level: apol_wrap.c:4743:17: error: conflicting types for 'apol_terule_query_set_regex' ../../../libapol/include/apol/terule-query.h:262:13: note: previous declaration of 'apol_terule_query_set_regex' was here apol_wrap.c: In function 'apol_terule_query_set_regex': apol_wrap.c:4744:3: warning: passing argument 1 of 'apol_terule_query_set_regex' from incompatible pointer type apol_wrap.c:4743:17: note: expected 'struct apol_terule_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4744:3: warning: passing argument 2 of 'apol_terule_query_set_regex' from incompatible pointer type apol_wrap.c:4743:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_terule_query *' apol_wrap.c: At top level: apol_wrap.c:4756:17: error: conflicting types for 'apol_cond_query_set_bool' ../../../libapol/include/apol/condrule-query.h:88:13: note: previous declaration of 'apol_cond_query_set_bool' was here apol_wrap.c: In function 'apol_cond_query_set_bool': apol_wrap.c:4758:3: warning: passing argument 1 of 'apol_cond_query_set_bool' from incompatible pointer type apol_wrap.c:4756:17: note: expected 'struct apol_cond_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4758:3: warning: passing argument 2 of 'apol_cond_query_set_bool' from incompatible pointer type apol_wrap.c:4756:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_cond_query *' apol_wrap.c:4758:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4765:17: error: conflicting types for 'apol_cond_query_set_regex' ../../../libapol/include/apol/condrule-query.h:100:13: note: previous declaration of 'apol_cond_query_set_regex' was here apol_wrap.c: In function 'apol_cond_query_set_regex': apol_wrap.c:4766:3: warning: passing argument 1 of 'apol_cond_query_set_regex' from incompatible pointer type apol_wrap.c:4765:17: note: expected 'struct apol_cond_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4766:3: warning: passing argument 2 of 'apol_cond_query_set_regex' from incompatible pointer type apol_wrap.c:4765:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_cond_query *' apol_wrap.c: At top level: apol_wrap.c:4778:17: error: conflicting types for 'apol_role_allow_query_set_source' ../../../libapol/include/apol/rbacrule-query.h:92:13: note: previous declaration of 'apol_role_allow_query_set_source' was here apol_wrap.c: In function 'apol_role_allow_query_set_source': apol_wrap.c:4780:3: warning: passing argument 1 of 'apol_role_allow_query_set_source' from incompatible pointer type apol_wrap.c:4778:17: note: expected 'struct apol_role_allow_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4780:3: warning: passing argument 2 of 'apol_role_allow_query_set_source' from incompatible pointer type apol_wrap.c:4778:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_role_allow_query *' apol_wrap.c:4780:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4787:17: error: conflicting types for 'apol_role_allow_query_set_target' ../../../libapol/include/apol/rbacrule-query.h:106:13: note: previous declaration of 'apol_role_allow_query_set_target' was here apol_wrap.c: In function 'apol_role_allow_query_set_target': apol_wrap.c:4789:3: warning: passing argument 1 of 'apol_role_allow_query_set_target' from incompatible pointer type apol_wrap.c:4787:17: note: expected 'struct apol_role_allow_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4789:3: warning: passing argument 2 of 'apol_role_allow_query_set_target' from incompatible pointer type apol_wrap.c:4787:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_role_allow_query *' apol_wrap.c:4789:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4796:17: error: conflicting types for 'apol_role_allow_query_set_source_any' ../../../libapol/include/apol/rbacrule-query.h:120:13: note: previous declaration of 'apol_role_allow_query_set_source_any' was here apol_wrap.c: In function 'apol_role_allow_query_set_source_any': apol_wrap.c:4797:3: warning: passing argument 1 of 'apol_role_allow_query_set_source_any' from incompatible pointer type apol_wrap.c:4796:17: note: expected 'struct apol_role_allow_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4797:3: warning: passing argument 2 of 'apol_role_allow_query_set_source_any' from incompatible pointer type apol_wrap.c:4796:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_role_allow_query *' apol_wrap.c: At top level: apol_wrap.c:4799:17: error: conflicting types for 'apol_role_allow_query_set_regex' ../../../libapol/include/apol/rbacrule-query.h:133:13: note: previous declaration of 'apol_role_allow_query_set_regex' was here apol_wrap.c: In function 'apol_role_allow_query_set_regex': apol_wrap.c:4800:3: warning: passing argument 1 of 'apol_role_allow_query_set_regex' from incompatible pointer type apol_wrap.c:4799:17: note: expected 'struct apol_role_allow_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4800:3: warning: passing argument 2 of 'apol_role_allow_query_set_regex' from incompatible pointer type apol_wrap.c:4799:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_role_allow_query *' apol_wrap.c: At top level: apol_wrap.c:4812:17: error: conflicting types for 'apol_role_trans_query_set_source' ../../../libapol/include/apol/rbacrule-query.h:197:13: note: previous declaration of 'apol_role_trans_query_set_source' was here apol_wrap.c: In function 'apol_role_trans_query_set_source': apol_wrap.c:4814:3: warning: passing argument 1 of 'apol_role_trans_query_set_source' from incompatible pointer type apol_wrap.c:4812:17: note: expected 'struct apol_role_trans_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4814:3: warning: passing argument 2 of 'apol_role_trans_query_set_source' from incompatible pointer type apol_wrap.c:4812:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_role_trans_query *' apol_wrap.c:4814:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4821:17: error: conflicting types for 'apol_role_trans_query_set_target' ../../../libapol/include/apol/rbacrule-query.h:216:13: note: previous declaration of 'apol_role_trans_query_set_target' was here apol_wrap.c: In function 'apol_role_trans_query_set_target': apol_wrap.c:4823:3: warning: passing argument 1 of 'apol_role_trans_query_set_target' from incompatible pointer type apol_wrap.c:4821:17: note: expected 'struct apol_role_trans_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4823:3: warning: passing argument 2 of 'apol_role_trans_query_set_target' from incompatible pointer type apol_wrap.c:4821:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_role_trans_query *' apol_wrap.c:4823:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4830:17: error: conflicting types for 'apol_role_trans_query_set_default' ../../../libapol/include/apol/rbacrule-query.h:231:13: note: previous declaration of 'apol_role_trans_query_set_default' was here apol_wrap.c: In function 'apol_role_trans_query_set_default': apol_wrap.c:4832:3: warning: passing argument 1 of 'apol_role_trans_query_set_default' from incompatible pointer type apol_wrap.c:4830:17: note: expected 'struct apol_role_trans_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4832:3: warning: passing argument 2 of 'apol_role_trans_query_set_default' from incompatible pointer type apol_wrap.c:4830:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_role_trans_query *' apol_wrap.c:4832:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4839:17: error: conflicting types for 'apol_role_trans_query_set_source_any' ../../../libapol/include/apol/rbacrule-query.h:247:13: note: previous declaration of 'apol_role_trans_query_set_source_any' was here apol_wrap.c: In function 'apol_role_trans_query_set_source_any': apol_wrap.c:4840:3: warning: passing argument 1 of 'apol_role_trans_query_set_source_any' from incompatible pointer type apol_wrap.c:4839:17: note: expected 'struct apol_role_trans_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4840:3: warning: passing argument 2 of 'apol_role_trans_query_set_source_any' from incompatible pointer type apol_wrap.c:4839:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_role_trans_query *' apol_wrap.c: At top level: apol_wrap.c:4842:17: error: conflicting types for 'apol_role_trans_query_set_regex' ../../../libapol/include/apol/rbacrule-query.h:261:13: note: previous declaration of 'apol_role_trans_query_set_regex' was here apol_wrap.c: In function 'apol_role_trans_query_set_regex': apol_wrap.c:4843:3: warning: passing argument 1 of 'apol_role_trans_query_set_regex' from incompatible pointer type apol_wrap.c:4842:17: note: expected 'struct apol_role_trans_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4843:3: warning: passing argument 2 of 'apol_role_trans_query_set_regex' from incompatible pointer type apol_wrap.c:4842:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_role_trans_query *' apol_wrap.c: At top level: apol_wrap.c:4855:17: error: conflicting types for 'apol_range_trans_query_set_source' ../../../libapol/include/apol/range_trans-query.h:94:13: note: previous declaration of 'apol_range_trans_query_set_source' was here apol_wrap.c: In function 'apol_range_trans_query_set_source': apol_wrap.c:4857:3: warning: passing argument 1 of 'apol_range_trans_query_set_source' from incompatible pointer type apol_wrap.c:4855:17: note: expected 'struct apol_range_trans_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4857:3: warning: passing argument 2 of 'apol_range_trans_query_set_source' from incompatible pointer type apol_wrap.c:4855:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_range_trans_query *' apol_wrap.c:4857:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4864:17: error: conflicting types for 'apol_range_trans_query_set_target' ../../../libapol/include/apol/range_trans-query.h:114:13: note: previous declaration of 'apol_range_trans_query_set_target' was here apol_wrap.c: In function 'apol_range_trans_query_set_target': apol_wrap.c:4866:3: warning: passing argument 1 of 'apol_range_trans_query_set_target' from incompatible pointer type apol_wrap.c:4864:17: note: expected 'struct apol_range_trans_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4866:3: warning: passing argument 2 of 'apol_range_trans_query_set_target' from incompatible pointer type apol_wrap.c:4864:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_range_trans_query *' apol_wrap.c:4866:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4873:17: error: conflicting types for 'apol_range_trans_query_append_class' ../../../libapol/include/apol/range_trans-query.h:132:13: note: previous declaration of 'apol_range_trans_query_append_class' was here apol_wrap.c: In function 'apol_range_trans_query_append_class': apol_wrap.c:4875:3: warning: passing argument 1 of 'apol_range_trans_query_append_class' from incompatible pointer type apol_wrap.c:4873:17: note: expected 'struct apol_range_trans_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4875:3: warning: passing argument 2 of 'apol_range_trans_query_append_class' from incompatible pointer type apol_wrap.c:4873:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_range_trans_query *' apol_wrap.c:4875:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4882:17: error: conflicting types for 'apol_range_trans_query_set_range' ../../../libapol/include/apol/range_trans-query.h:150:13: note: previous declaration of 'apol_range_trans_query_set_range' was here apol_wrap.c: In function 'apol_range_trans_query_set_range': apol_wrap.c:4884:3: warning: passing argument 1 of 'apol_range_trans_query_set_range' from incompatible pointer type apol_wrap.c:4882:17: note: expected 'struct apol_range_trans_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4884:3: warning: passing argument 2 of 'apol_range_trans_query_set_range' from incompatible pointer type apol_wrap.c:4882:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_range_trans_query *' apol_wrap.c:4884:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4891:17: error: conflicting types for 'apol_range_trans_query_set_source_any' ../../../libapol/include/apol/range_trans-query.h:166:13: note: previous declaration of 'apol_range_trans_query_set_source_any' was here apol_wrap.c: In function 'apol_range_trans_query_set_source_any': apol_wrap.c:4892:3: warning: passing argument 1 of 'apol_range_trans_query_set_source_any' from incompatible pointer type apol_wrap.c:4891:17: note: expected 'struct apol_range_trans_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4892:3: warning: passing argument 2 of 'apol_range_trans_query_set_source_any' from incompatible pointer type apol_wrap.c:4891:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_range_trans_query *' apol_wrap.c: At top level: apol_wrap.c:4894:17: error: conflicting types for 'apol_range_trans_query_set_regex' ../../../libapol/include/apol/range_trans-query.h:180:13: note: previous declaration of 'apol_range_trans_query_set_regex' was here apol_wrap.c: In function 'apol_range_trans_query_set_regex': apol_wrap.c:4895:3: warning: passing argument 1 of 'apol_range_trans_query_set_regex' from incompatible pointer type apol_wrap.c:4894:17: note: expected 'struct apol_range_trans_query *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4895:3: warning: passing argument 2 of 'apol_range_trans_query_set_regex' from incompatible pointer type apol_wrap.c:4894:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_range_trans_query *' apol_wrap.c: At top level: apol_wrap.c:4897:17: error: conflicting types for 'apol_domain_trans_analysis_set_direction' ../../../libapol/include/apol/domain-trans-analysis.h:113:13: note: previous declaration of 'apol_domain_trans_analysis_set_direction' was here apol_wrap.c: In function 'apol_domain_trans_analysis_set_direction': apol_wrap.c:4899:3: warning: passing argument 1 of 'apol_domain_trans_analysis_set_direction' from incompatible pointer type apol_wrap.c:4897:17: note: expected 'struct apol_domain_trans_analysis *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4899:3: warning: passing argument 2 of 'apol_domain_trans_analysis_set_direction' from incompatible pointer type apol_wrap.c:4897:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_domain_trans_analysis *' apol_wrap.c:4899:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4906:17: error: conflicting types for 'apol_domain_trans_analysis_set_valid' ../../../libapol/include/apol/domain-trans-analysis.h:127:13: note: previous declaration of 'apol_domain_trans_analysis_set_valid' was here apol_wrap.c: In function 'apol_domain_trans_analysis_set_valid': apol_wrap.c:4908:3: warning: passing argument 1 of 'apol_domain_trans_analysis_set_valid' from incompatible pointer type apol_wrap.c:4906:17: note: expected 'struct apol_domain_trans_analysis *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4908:3: warning: passing argument 2 of 'apol_domain_trans_analysis_set_valid' from incompatible pointer type apol_wrap.c:4906:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_domain_trans_analysis *' apol_wrap.c:4908:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4915:17: error: conflicting types for 'apol_domain_trans_analysis_set_start_type' ../../../libapol/include/apol/domain-trans-analysis.h:141:13: note: previous declaration of 'apol_domain_trans_analysis_set_start_type' was here apol_wrap.c: In function 'apol_domain_trans_analysis_set_start_type': apol_wrap.c:4917:3: warning: passing argument 1 of 'apol_domain_trans_analysis_set_start_type' from incompatible pointer type apol_wrap.c:4915:17: note: expected 'struct apol_domain_trans_analysis *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4917:3: warning: passing argument 2 of 'apol_domain_trans_analysis_set_start_type' from incompatible pointer type apol_wrap.c:4915:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_domain_trans_analysis *' apol_wrap.c:4917:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4924:17: error: conflicting types for 'apol_domain_trans_analysis_set_result_regex' ../../../libapol/include/apol/domain-trans-analysis.h:154:13: note: previous declaration of 'apol_domain_trans_analysis_set_result_regex' was here apol_wrap.c: In function 'apol_domain_trans_analysis_set_result_regex': apol_wrap.c:4926:3: warning: passing argument 1 of 'apol_domain_trans_analysis_set_result_regex' from incompatible pointer type apol_wrap.c:4924:17: note: expected 'struct apol_domain_trans_analysis *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4926:3: warning: passing argument 2 of 'apol_domain_trans_analysis_set_result_regex' from incompatible pointer type apol_wrap.c:4924:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_domain_trans_analysis *' apol_wrap.c:4926:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4933:17: error: conflicting types for 'apol_domain_trans_analysis_append_access_type' ../../../libapol/include/apol/domain-trans-analysis.h:173:13: note: previous declaration of 'apol_domain_trans_analysis_append_access_type' was here apol_wrap.c: In function 'apol_domain_trans_analysis_append_access_type': apol_wrap.c:4935:3: warning: passing argument 1 of 'apol_domain_trans_analysis_append_access_type' from incompatible pointer type apol_wrap.c:4933:17: note: expected 'struct apol_domain_trans_analysis *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4935:3: warning: passing argument 2 of 'apol_domain_trans_analysis_append_access_type' from incompatible pointer type apol_wrap.c:4933:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_domain_trans_analysis *' apol_wrap.c:4935:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4942:17: error: conflicting types for 'apol_domain_trans_analysis_append_class' ../../../libapol/include/apol/domain-trans-analysis.h:220:13: note: previous declaration of 'apol_domain_trans_analysis_append_class' was here apol_wrap.c: In function 'apol_domain_trans_analysis_append_class': apol_wrap.c:4944:3: warning: passing argument 1 of 'apol_domain_trans_analysis_append_class' from incompatible pointer type apol_wrap.c:4942:17: note: expected 'struct apol_domain_trans_analysis *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4944:3: warning: passing argument 2 of 'apol_domain_trans_analysis_append_class' from incompatible pointer type apol_wrap.c:4942:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_domain_trans_analysis *' apol_wrap.c:4944:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4951:17: error: conflicting types for 'apol_domain_trans_analysis_append_perm' ../../../libapol/include/apol/domain-trans-analysis.h:239:13: note: previous declaration of 'apol_domain_trans_analysis_append_perm' was here apol_wrap.c: In function 'apol_domain_trans_analysis_append_perm': apol_wrap.c:4953:3: warning: passing argument 1 of 'apol_domain_trans_analysis_append_perm' from incompatible pointer type apol_wrap.c:4951:17: note: expected 'struct apol_domain_trans_analysis *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:4953:3: warning: passing argument 2 of 'apol_domain_trans_analysis_append_perm' from incompatible pointer type apol_wrap.c:4951:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_domain_trans_analysis *' apol_wrap.c:4953:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:4970:31: error: conflicting types for 'apol_domain_trans_result_get_start_type' ../../../libapol/include/apol/domain-trans-analysis.h:268:28: note: previous declaration of 'apol_domain_trans_result_get_start_type' was here apol_wrap.c:4973:31: error: conflicting types for 'apol_domain_trans_result_get_entrypoint_type' ../../../libapol/include/apol/domain-trans-analysis.h:278:28: note: previous declaration of 'apol_domain_trans_result_get_entrypoint_type' was here apol_wrap.c:4976:31: error: conflicting types for 'apol_domain_trans_result_get_end_type' ../../../libapol/include/apol/domain-trans-analysis.h:288:28: note: previous declaration of 'apol_domain_trans_result_get_end_type' was here apol_wrap.c:4982:33: error: conflicting types for 'apol_domain_trans_result_get_proc_trans_rules' ../../../libapol/include/apol/domain-trans-analysis.h:299:30: note: previous declaration of 'apol_domain_trans_result_get_proc_trans_rules' was here apol_wrap.c:4985:33: error: conflicting types for 'apol_domain_trans_result_get_entrypoint_rules' ../../../libapol/include/apol/domain-trans-analysis.h:309:30: note: previous declaration of 'apol_domain_trans_result_get_entrypoint_rules' was here apol_wrap.c:4988:33: error: conflicting types for 'apol_domain_trans_result_get_exec_rules' ../../../libapol/include/apol/domain-trans-analysis.h:319:30: note: previous declaration of 'apol_domain_trans_result_get_exec_rules' was here apol_wrap.c:4991:33: error: conflicting types for 'apol_domain_trans_result_get_setexec_rules' ../../../libapol/include/apol/domain-trans-analysis.h:332:30: note: previous declaration of 'apol_domain_trans_result_get_setexec_rules' was here apol_wrap.c:4994:33: error: conflicting types for 'apol_domain_trans_result_get_type_trans_rules' ../../../libapol/include/apol/domain-trans-analysis.h:345:30: note: previous declaration of 'apol_domain_trans_result_get_type_trans_rules' was here apol_wrap.c:4997:33: error: conflicting types for 'apol_domain_trans_result_get_access_rules' ../../../libapol/include/apol/domain-trans-analysis.h:366:30: note: previous declaration of 'apol_domain_trans_result_get_access_rules' was here apol_wrap.c:5049:17: error: conflicting types for 'apol_infoflow_analysis_set_mode' ../../../libapol/include/apol/infoflow-analysis.h:188:13: note: previous declaration of 'apol_infoflow_analysis_set_mode' was here apol_wrap.c: In function 'apol_infoflow_analysis_set_mode': apol_wrap.c:5051:3: warning: passing argument 1 of 'apol_infoflow_analysis_set_mode' from incompatible pointer type apol_wrap.c:5049:17: note: expected 'struct apol_infoflow_analysis *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:5051:3: warning: passing argument 2 of 'apol_infoflow_analysis_set_mode' from incompatible pointer type apol_wrap.c:5049:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_infoflow_analysis *' apol_wrap.c:5051:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:5058:17: error: conflicting types for 'apol_infoflow_analysis_set_dir' ../../../libapol/include/apol/infoflow-analysis.h:203:13: note: previous declaration of 'apol_infoflow_analysis_set_dir' was here apol_wrap.c: In function 'apol_infoflow_analysis_set_dir': apol_wrap.c:5060:3: warning: passing argument 1 of 'apol_infoflow_analysis_set_dir' from incompatible pointer type apol_wrap.c:5058:17: note: expected 'struct apol_infoflow_analysis *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:5060:3: warning: passing argument 2 of 'apol_infoflow_analysis_set_dir' from incompatible pointer type apol_wrap.c:5058:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_infoflow_analysis *' apol_wrap.c:5060:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:5067:17: error: conflicting types for 'apol_infoflow_analysis_set_type' ../../../libapol/include/apol/infoflow-analysis.h:215:13: note: previous declaration of 'apol_infoflow_analysis_set_type' was here apol_wrap.c: In function 'apol_infoflow_analysis_set_type': apol_wrap.c:5069:3: warning: passing argument 1 of 'apol_infoflow_analysis_set_type' from incompatible pointer type apol_wrap.c:5067:17: note: expected 'struct apol_infoflow_analysis *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:5069:3: warning: passing argument 2 of 'apol_infoflow_analysis_set_type' from incompatible pointer type apol_wrap.c:5067:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_infoflow_analysis *' apol_wrap.c:5069:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:5076:17: error: conflicting types for 'apol_infoflow_analysis_append_intermediate' ../../../libapol/include/apol/infoflow-analysis.h:231:13: note: previous declaration of 'apol_infoflow_analysis_append_intermediate' was here apol_wrap.c: In function 'apol_infoflow_analysis_append_intermediate': apol_wrap.c:5078:3: warning: passing argument 1 of 'apol_infoflow_analysis_append_intermediate' from incompatible pointer type apol_wrap.c:5076:17: note: expected 'struct apol_infoflow_analysis *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:5078:3: warning: passing argument 2 of 'apol_infoflow_analysis_append_intermediate' from incompatible pointer type apol_wrap.c:5076:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_infoflow_analysis *' apol_wrap.c:5078:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:5085:17: error: conflicting types for 'apol_infoflow_analysis_append_class_perm' ../../../libapol/include/apol/infoflow-analysis.h:249:13: note: previous declaration of 'apol_infoflow_analysis_append_class_perm' was here apol_wrap.c: In function 'apol_infoflow_analysis_append_class_perm': apol_wrap.c:5087:3: warning: passing argument 1 of 'apol_infoflow_analysis_append_class_perm' from incompatible pointer type apol_wrap.c:5085:17: note: expected 'struct apol_infoflow_analysis *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:5087:3: warning: passing argument 2 of 'apol_infoflow_analysis_append_class_perm' from incompatible pointer type apol_wrap.c:5085:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_infoflow_analysis *' apol_wrap.c:5087:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:5094:17: error: conflicting types for 'apol_infoflow_analysis_set_min_weight' ../../../libapol/include/apol/infoflow-analysis.h:266:13: note: previous declaration of 'apol_infoflow_analysis_set_min_weight' was here apol_wrap.c: In function 'apol_infoflow_analysis_set_min_weight': apol_wrap.c:5095:3: warning: passing argument 1 of 'apol_infoflow_analysis_set_min_weight' from incompatible pointer type apol_wrap.c:5094:17: note: expected 'struct apol_infoflow_analysis *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:5095:3: warning: passing argument 2 of 'apol_infoflow_analysis_set_min_weight' from incompatible pointer type apol_wrap.c:5094:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_infoflow_analysis *' apol_wrap.c: At top level: apol_wrap.c:5097:17: error: conflicting types for 'apol_infoflow_analysis_set_result_regex' ../../../libapol/include/apol/infoflow-analysis.h:280:13: note: previous declaration of 'apol_infoflow_analysis_set_result_regex' was here apol_wrap.c: In function 'apol_infoflow_analysis_set_result_regex': apol_wrap.c:5099:3: warning: passing argument 1 of 'apol_infoflow_analysis_set_result_regex' from incompatible pointer type apol_wrap.c:5097:17: note: expected 'struct apol_infoflow_analysis *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:5099:3: warning: passing argument 2 of 'apol_infoflow_analysis_set_result_regex' from incompatible pointer type apol_wrap.c:5097:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_infoflow_analysis *' apol_wrap.c:5099:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:5136:16: error: conflicting types for 'apol_infoflow_result_get_dir' ../../../libapol/include/apol/infoflow-analysis.h:292:22: note: previous declaration of 'apol_infoflow_result_get_dir' was here apol_wrap.c:5139:31: error: conflicting types for 'apol_infoflow_result_get_start_type' ../../../libapol/include/apol/infoflow-analysis.h:301:28: note: previous declaration of 'apol_infoflow_result_get_start_type' was here apol_wrap.c:5142:31: error: conflicting types for 'apol_infoflow_result_get_end_type' ../../../libapol/include/apol/infoflow-analysis.h:310:28: note: previous declaration of 'apol_infoflow_result_get_end_type' was here apol_wrap.c:5145:16: error: conflicting types for 'apol_infoflow_result_get_length' ../../../libapol/include/apol/infoflow-analysis.h:321:22: note: previous declaration of 'apol_infoflow_result_get_length' was here apol_wrap.c:5148:33: error: conflicting types for 'apol_infoflow_result_get_steps' ../../../libapol/include/apol/infoflow-analysis.h:336:30: note: previous declaration of 'apol_infoflow_result_get_steps' was here apol_wrap.c:5156:31: error: conflicting types for 'apol_infoflow_step_get_start_type' ../../../libapol/include/apol/infoflow-analysis.h:345:28: note: previous declaration of 'apol_infoflow_step_get_start_type' was here apol_wrap.c:5159:31: error: conflicting types for 'apol_infoflow_step_get_end_type' ../../../libapol/include/apol/infoflow-analysis.h:354:28: note: previous declaration of 'apol_infoflow_step_get_end_type' was here apol_wrap.c:5162:16: error: conflicting types for 'apol_infoflow_step_get_weight' ../../../libapol/include/apol/infoflow-analysis.h:368:13: note: previous declaration of 'apol_infoflow_step_get_weight' was here apol_wrap.c:5165:33: error: conflicting types for 'apol_infoflow_step_get_rules' ../../../libapol/include/apol/infoflow-analysis.h:381:30: note: previous declaration of 'apol_infoflow_step_get_rules' was here apol_wrap.c:5183:17: error: conflicting types for 'apol_relabel_analysis_set_dir' ../../../libapol/include/apol/relabel-analysis.h:96:13: note: previous declaration of 'apol_relabel_analysis_set_dir' was here apol_wrap.c: In function 'apol_relabel_analysis_set_dir': apol_wrap.c:5185:3: warning: passing argument 1 of 'apol_relabel_analysis_set_dir' from incompatible pointer type apol_wrap.c:5183:17: note: expected 'struct apol_relabel_analysis *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:5185:3: warning: passing argument 2 of 'apol_relabel_analysis_set_dir' from incompatible pointer type apol_wrap.c:5183:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_relabel_analysis *' apol_wrap.c:5185:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:5192:17: error: conflicting types for 'apol_relabel_analysis_set_type' ../../../libapol/include/apol/relabel-analysis.h:108:13: note: previous declaration of 'apol_relabel_analysis_set_type' was here apol_wrap.c: In function 'apol_relabel_analysis_set_type': apol_wrap.c:5194:3: warning: passing argument 1 of 'apol_relabel_analysis_set_type' from incompatible pointer type apol_wrap.c:5192:17: note: expected 'struct apol_relabel_analysis *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:5194:3: warning: passing argument 2 of 'apol_relabel_analysis_set_type' from incompatible pointer type apol_wrap.c:5192:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_relabel_analysis *' apol_wrap.c:5194:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:5201:17: error: conflicting types for 'apol_relabel_analysis_append_class' ../../../libapol/include/apol/relabel-analysis.h:124:13: note: previous declaration of 'apol_relabel_analysis_append_class' was here apol_wrap.c: In function 'apol_relabel_analysis_append_class': apol_wrap.c:5203:3: warning: passing argument 1 of 'apol_relabel_analysis_append_class' from incompatible pointer type apol_wrap.c:5201:17: note: expected 'struct apol_relabel_analysis *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:5203:3: warning: passing argument 2 of 'apol_relabel_analysis_append_class' from incompatible pointer type apol_wrap.c:5201:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_relabel_analysis *' apol_wrap.c:5203:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:5210:17: error: conflicting types for 'apol_relabel_analysis_append_subject' ../../../libapol/include/apol/relabel-analysis.h:141:13: note: previous declaration of 'apol_relabel_analysis_append_subject' was here apol_wrap.c: In function 'apol_relabel_analysis_append_subject': apol_wrap.c:5212:3: warning: passing argument 1 of 'apol_relabel_analysis_append_subject' from incompatible pointer type apol_wrap.c:5210:17: note: expected 'struct apol_relabel_analysis *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:5212:3: warning: passing argument 2 of 'apol_relabel_analysis_append_subject' from incompatible pointer type apol_wrap.c:5210:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_relabel_analysis *' apol_wrap.c:5212:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:5219:17: error: conflicting types for 'apol_relabel_analysis_set_result_regex' ../../../libapol/include/apol/relabel-analysis.h:154:13: note: previous declaration of 'apol_relabel_analysis_set_result_regex' was here apol_wrap.c: In function 'apol_relabel_analysis_set_result_regex': apol_wrap.c:5221:3: warning: passing argument 1 of 'apol_relabel_analysis_set_result_regex' from incompatible pointer type apol_wrap.c:5219:17: note: expected 'struct apol_relabel_analysis *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:5221:3: warning: passing argument 2 of 'apol_relabel_analysis_set_result_regex' from incompatible pointer type apol_wrap.c:5219:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_relabel_analysis *' apol_wrap.c:5221:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:5228:33: error: conflicting types for 'apol_relabel_result_get_to' ../../../libapol/include/apol/relabel-analysis.h:168:30: note: previous declaration of 'apol_relabel_result_get_to' was here apol_wrap.c:5231:33: error: conflicting types for 'apol_relabel_result_get_from' ../../../libapol/include/apol/relabel-analysis.h:181:30: note: previous declaration of 'apol_relabel_result_get_from' was here apol_wrap.c:5234:33: error: conflicting types for 'apol_relabel_result_get_both' ../../../libapol/include/apol/relabel-analysis.h:194:30: note: previous declaration of 'apol_relabel_result_get_both' was here apol_wrap.c:5237:31: error: conflicting types for 'apol_relabel_result_get_result_type' ../../../libapol/include/apol/relabel-analysis.h:203:28: note: previous declaration of 'apol_relabel_result_get_result_type' was here apol_wrap.c:5245:33: error: conflicting types for 'apol_relabel_result_pair_get_ruleA' ../../../libapol/include/apol/relabel-analysis.h:220:30: note: previous declaration of 'apol_relabel_result_pair_get_ruleA' was here apol_wrap.c:5248:33: error: conflicting types for 'apol_relabel_result_pair_get_ruleB' ../../../libapol/include/apol/relabel-analysis.h:236:30: note: previous declaration of 'apol_relabel_result_pair_get_ruleB' was here apol_wrap.c:5251:31: error: conflicting types for 'apol_relabel_result_pair_get_intermediate_type' ../../../libapol/include/apol/relabel-analysis.h:252:28: note: previous declaration of 'apol_relabel_result_pair_get_intermediate_type' was here apol_wrap.c:5269:17: error: conflicting types for 'apol_types_relation_analysis_set_first_type' ../../../libapol/include/apol/types-relation-analysis.h:108:13: note: previous declaration of 'apol_types_relation_analysis_set_first_type' was here apol_wrap.c: In function 'apol_types_relation_analysis_set_first_type': apol_wrap.c:5271:3: warning: passing argument 1 of 'apol_types_relation_analysis_set_first_type' from incompatible pointer type apol_wrap.c:5269:17: note: expected 'struct apol_types_relation_analysis *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:5271:3: warning: passing argument 2 of 'apol_types_relation_analysis_set_first_type' from incompatible pointer type apol_wrap.c:5269:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_types_relation_analysis *' apol_wrap.c:5271:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:5278:17: error: conflicting types for 'apol_types_relation_analysis_set_other_type' ../../../libapol/include/apol/types-relation-analysis.h:121:13: note: previous declaration of 'apol_types_relation_analysis_set_other_type' was here apol_wrap.c: In function 'apol_types_relation_analysis_set_other_type': apol_wrap.c:5280:3: warning: passing argument 1 of 'apol_types_relation_analysis_set_other_type' from incompatible pointer type apol_wrap.c:5278:17: note: expected 'struct apol_types_relation_analysis *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:5280:3: warning: passing argument 2 of 'apol_types_relation_analysis_set_other_type' from incompatible pointer type apol_wrap.c:5278:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_types_relation_analysis *' apol_wrap.c:5280:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:5287:17: error: conflicting types for 'apol_types_relation_analysis_set_analyses' ../../../libapol/include/apol/types-relation-analysis.h:137:13: note: previous declaration of 'apol_types_relation_analysis_set_analyses' was here apol_wrap.c: In function 'apol_types_relation_analysis_set_analyses': apol_wrap.c:5289:3: warning: passing argument 1 of 'apol_types_relation_analysis_set_analyses' from incompatible pointer type apol_wrap.c:5287:17: note: expected 'struct apol_types_relation_analysis *' but argument is of type 'struct apol_policy_t *' apol_wrap.c:5289:3: warning: passing argument 2 of 'apol_types_relation_analysis_set_analyses' from incompatible pointer type apol_wrap.c:5287:17: note: expected 'struct apol_policy_t *' but argument is of type 'struct apol_types_relation_analysis *' apol_wrap.c:5289:3: error: void value not ignored as it ought to be apol_wrap.c: At top level: apol_wrap.c:5296:33: error: conflicting types for 'apol_types_relation_result_get_attributes' ../../../libapol/include/apol/types-relation-analysis.h:164:30: note: previous declaration of 'apol_types_relation_result_get_attributes' was here apol_wrap.c:5299:33: error: conflicting types for 'apol_types_relation_result_get_roles' ../../../libapol/include/apol/types-relation-analysis.h:176:30: note: previous declaration of 'apol_types_relation_result_get_roles' was here apol_wrap.c:5302:33: error: conflicting types for 'apol_types_relation_result_get_users' ../../../libapol/include/apol/types-relation-analysis.h:188:30: note: previous declaration of 'apol_types_relation_result_get_users' was here apol_wrap.c:5305:33: error: conflicting types for 'apol_types_relation_result_get_similar_first' ../../../libapol/include/apol/types-relation-analysis.h:204:30: note: previous declaration of 'apol_types_relation_result_get_similar_first' was here apol_wrap.c:5308:33: error: conflicting types for 'apol_types_relation_result_get_similar_other' ../../../libapol/include/apol/types-relation-analysis.h:220:30: note: previous declaration of 'apol_types_relation_result_get_similar_other' was here apol_wrap.c:5311:33: error: conflicting types for 'apol_types_relation_result_get_dissimilar_first' ../../../libapol/include/apol/types-relation-analysis.h:236:30: note: previous declaration of 'apol_types_relation_result_get_dissimilar_first' was here apol_wrap.c:5314:33: error: conflicting types for 'apol_types_relation_result_get_dissimilar_other' ../../../libapol/include/apol/types-relation-analysis.h:252:30: note: previous declaration of 'apol_types_relation_result_get_dissimilar_other' was here apol_wrap.c:5317:33: error: conflicting types for 'apol_types_relation_result_get_allowrules' ../../../libapol/include/apol/types-relation-analysis.h:265:30: note: previous declaration of 'apol_types_relation_result_get_allowrules' was here apol_wrap.c:5320:33: error: conflicting types for 'apol_types_relation_result_get_typerules' ../../../libapol/include/apol/types-relation-analysis.h:279:30: note: previous declaration of 'apol_types_relation_result_get_typerules' was here apol_wrap.c:5323:33: error: conflicting types for 'apol_types_relation_result_get_directflows' ../../../libapol/include/apol/types-relation-analysis.h:294:30: note: previous declaration of 'apol_types_relation_result_get_directflows' was here apol_wrap.c:5326:33: error: conflicting types for 'apol_types_relation_result_get_transflowsAB' ../../../libapol/include/apol/types-relation-analysis.h:309:30: note: previous declaration of 'apol_types_relation_result_get_transflowsAB' was here apol_wrap.c:5329:33: error: conflicting types for 'apol_types_relation_result_get_transflowsBA' ../../../libapol/include/apol/types-relation-analysis.h:324:30: note: previous declaration of 'apol_types_relation_result_get_transflowsBA' was here apol_wrap.c:5332:33: error: conflicting types for 'apol_types_relation_result_get_domainsAB' ../../../libapol/include/apol/types-relation-analysis.h:339:30: note: previous declaration of 'apol_types_relation_result_get_domainsAB' was here apol_wrap.c:5335:33: error: conflicting types for 'apol_types_relation_result_get_domainsBA' ../../../libapol/include/apol/types-relation-analysis.h:354:30: note: previous declaration of 'apol_types_relation_result_get_domainsBA' was here apol_wrap.c:5338:31: error: conflicting types for 'apol_types_relation_access_get_type' ../../../libapol/include/apol/types-relation-analysis.h:363:28: note: previous declaration of 'apol_types_relation_access_get_type' was here apol_wrap.c:5341:33: error: conflicting types for 'apol_types_relation_access_get_rules' ../../../libapol/include/apol/types-relation-analysis.h:374:30: note: previous declaration of 'apol_types_relation_access_get_rules' was here make[1]: *** [_apol.so.4.3] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-admin/setools-3.3.7-r3/work/setools-3.3.7/libapol/swig/python-2.7' make: *** [all] Error 2 emake failed * ERROR: app-admin/setools-3.3.7-r3 failed (compile phase): * Building of Python bindings from libapol/swig/python directory with CPython 2.7 failed * * Call stack: * ebuild.sh, line 85: Called src_compile * environment, line 7135: Called python_execute_function '--action-message' 'Building of Python bindings from libapol/swig/python directory with $(python_get_implementation) $(python_get_version)' '--failure-message' 'Building of Python bindings from libapol/swig/python directory with $(python_get_implementation) $(python_get_version) failed' '-s' '--source-dir' 'libapol/swig/python' 'building' * environment, line 5455: Called die * The specific snippet of code: * die "${failure_message}"; * * If you need support, post the output of `emerge --info '=app-admin/setools-3.3.7-r3'`, * the complete build log and the output of `emerge -pqv '=app-admin/setools-3.3.7-r3'`. !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="" JAVA_HOME="" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info * The complete build log is located at '/var/tmp/portage/app-admin/setools-3.3.7-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-admin/setools-3.3.7-r3/temp/environment'. * Working directory: '/var/tmp/portage/app-admin/setools-3.3.7-r3/work/setools-3.3.7/libapol/swig/python-2.7' * S: '/var/tmp/portage/app-admin/setools-3.3.7-r3/work/setools-3.3.7' * Messages for package app-admin/setools-3.3.7-r3: * ERROR: app-admin/setools-3.3.7-r3 failed (compile phase): * Building of Python bindings from libapol/swig/python directory with CPython 2.7 failed * * Call stack: * ebuild.sh, line 85: Called src_compile * environment, line 7135: Called python_execute_function '--action-message' 'Building of Python bindings from libapol/swig/python directory with $(python_get_implementation) $(python_get_version)' '--failure-message' 'Building of Python bindings from libapol/swig/python directory with $(python_get_implementation) $(python_get_version) failed' '-s' '--source-dir' 'libapol/swig/python' 'building' * environment, line 5455: Called die * The specific snippet of code: * die "${failure_message}"; * * If you need support, post the output of `emerge --info '=app-admin/setools-3.3.7-r3'`, * the complete build log and the output of `emerge -pqv '=app-admin/setools-3.3.7-r3'`. * The complete build log is located at '/var/tmp/portage/app-admin/setools-3.3.7-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-admin/setools-3.3.7-r3/temp/environment'. * Working directory: '/var/tmp/portage/app-admin/setools-3.3.7-r3/work/setools-3.3.7/libapol/swig/python-2.7' * S: '/var/tmp/portage/app-admin/setools-3.3.7-r3/work/setools-3.3.7'