From 5cd4414fce1e0eb4133dfc6fc828bf25c8a959f9 Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Sat, 21 Sep 2013 19:10:13 +0200 Subject: Include header file in implementation module. Declarations of public functions was in header files, but header files was not included in implementation file. --- src/providers/ad/ad_domain_info.c | 1 + src/providers/ad/ad_srv.c | 1 + src/providers/ipa/ipa_auth.c | 1 + src/providers/ipa/ipa_s2n_exop.c | 1 + src/providers/ipa/ipa_srv.c | 1 + src/providers/krb5/krb5_become_user.c | 1 + src/providers/krb5/krb5_init_shared.c | 1 + src/providers/ldap/ldap_access.c | 1 + src/providers/ldap/sdap_async_autofs.c | 1 + src/providers/ldap/sdap_async_enum.c | 1 + src/providers/ldap/sdap_async_nested_groups.c | 1 + src/providers/ldap/sdap_dyndns.c | 1 + src/responder/common/negcache.c | 1 + src/responder/ssh/sshsrv_dp.c | 1 + src/tests/common_check.c | 1 + src/util/crypto/libcrypto/crypto_base64.c | 1 + src/util/crypto/nss/nss_base64.c | 1 + src/util/crypto/nss/nss_util.c | 1 + src/util/find_uid.c | 1 + src/util/murmurhash3.c | 1 + src/util/user_info_msg.c | 1 + src/util/usertools.c | 1 + 22 files changed, 22 insertions(+) diff --git a/src/providers/ad/ad_domain_info.c b/src/providers/ad/ad_domain_info.c index eff2034d..c24da939 100644 --- a/src/providers/ad/ad_domain_info.c +++ b/src/providers/ad/ad_domain_info.c @@ -31,6 +31,7 @@ #include "providers/ldap/sdap.h" #include "providers/ldap/sdap_async.h" #include "providers/ldap/sdap_idmap.h" +#include "providers/ad/ad_domain_info.h" #include "util/util.h" #define AD_AT_OBJECT_SID "objectSID" diff --git a/src/providers/ad/ad_srv.c b/src/providers/ad/ad_srv.c index a238c192..89186dd1 100644 --- a/src/providers/ad/ad_srv.c +++ b/src/providers/ad/ad_srv.c @@ -28,6 +28,7 @@ #include "util/sss_ldap.h" #include "resolv/async_resolv.h" #include "providers/dp_backend.h" +#include "providers/ad/ad_srv.h" #include "providers/fail_over.h" #include "providers/fail_over_srv.h" #include "providers/ldap/sdap.h" diff --git a/src/providers/ipa/ipa_auth.c b/src/providers/ipa/ipa_auth.c index 651196a9..3db623f1 100644 --- a/src/providers/ipa/ipa_auth.c +++ b/src/providers/ipa/ipa_auth.c @@ -29,6 +29,7 @@ #include "providers/ldap/ldap_common.h" #include "providers/ldap/sdap_async.h" #include "providers/krb5/krb5_auth.h" +#include "providers/ipa/ipa_auth.h" #include "providers/ipa/ipa_common.h" #include "providers/ipa/ipa_config.h" diff --git a/src/providers/ipa/ipa_s2n_exop.c b/src/providers/ipa/ipa_s2n_exop.c index d8506aaa..e7dbeb45 100644 --- a/src/providers/ipa/ipa_s2n_exop.c +++ b/src/providers/ipa/ipa_s2n_exop.c @@ -24,6 +24,7 @@ #include "db/sysdb.h" #include "providers/ldap/sdap_async_private.h" #include "providers/ldap/ldap_common.h" +#include "providers/ipa/ipa_id.h" #include "providers/ipa/ipa_subdomains.h" enum input_types { diff --git a/src/providers/ipa/ipa_srv.c b/src/providers/ipa/ipa_srv.c index aa07cf05..21c75407 100644 --- a/src/providers/ipa/ipa_srv.c +++ b/src/providers/ipa/ipa_srv.c @@ -25,6 +25,7 @@ #include "util/util.h" #include "resolv/async_resolv.h" #include "providers/fail_over_srv.h" +#include "providers/ipa/ipa_srv.h" #define IPA_DNS_LOCATION "_location" diff --git a/src/providers/krb5/krb5_become_user.c b/src/providers/krb5/krb5_become_user.c index 8cbeb1ce..4d5346f3 100644 --- a/src/providers/krb5/krb5_become_user.c +++ b/src/providers/krb5/krb5_become_user.c @@ -23,6 +23,7 @@ */ #include "util/util.h" +#include "providers/krb5/krb5_utils.h" #include errno_t become_user(uid_t uid, gid_t gid) diff --git a/src/providers/krb5/krb5_init_shared.c b/src/providers/krb5/krb5_init_shared.c index c9eec2f8..4573d75d 100644 --- a/src/providers/krb5/krb5_init_shared.c +++ b/src/providers/krb5/krb5_init_shared.c @@ -24,6 +24,7 @@ #include "providers/krb5/krb5_common.h" #include "providers/krb5/krb5_auth.h" +#include "providers/krb5/krb5_init_shared.h" errno_t krb5_child_init(struct krb5_ctx *krb5_auth_ctx, struct be_ctx *bectx) diff --git a/src/providers/ldap/ldap_access.c b/src/providers/ldap/ldap_access.c index bb5c37f4..8d5b5e22 100644 --- a/src/providers/ldap/ldap_access.c +++ b/src/providers/ldap/ldap_access.c @@ -27,6 +27,7 @@ #include "src/providers/data_provider.h" #include "src/providers/dp_backend.h" #include "src/providers/ldap/sdap_access.h" +#include "providers/ldap/ldap_common.h" static void sdap_access_reply(struct be_req *be_req, int pam_status) { diff --git a/src/providers/ldap/sdap_async_autofs.c b/src/providers/ldap/sdap_async_autofs.c index 4886150f..4d5e953d 100644 --- a/src/providers/ldap/sdap_async_autofs.c +++ b/src/providers/ldap/sdap_async_autofs.c @@ -27,6 +27,7 @@ #include "providers/ldap/sdap_async_private.h" #include "db/sysdb_autofs.h" #include "providers/ldap/ldap_common.h" +#include "providers/ldap/sdap_autofs.h" enum autofs_map_op { AUTOFS_MAP_OP_ADD, diff --git a/src/providers/ldap/sdap_async_enum.c b/src/providers/ldap/sdap_async_enum.c index 9a520ba5..b03c19a5 100644 --- a/src/providers/ldap/sdap_async_enum.c +++ b/src/providers/ldap/sdap_async_enum.c @@ -29,6 +29,7 @@ #include "db/sysdb.h" #include "providers/ldap/ldap_common.h" #include "providers/ldap/sdap_async.h" +#include "providers/ldap/sdap_async_enum.h" #include "providers/ldap/sdap_idmap.h" static struct tevent_req *enum_users_send(TALLOC_CTX *memctx, diff --git a/src/providers/ldap/sdap_async_nested_groups.c b/src/providers/ldap/sdap_async_nested_groups.c index 6e705661..7040c6e9 100644 --- a/src/providers/ldap/sdap_async_nested_groups.c +++ b/src/providers/ldap/sdap_async_nested_groups.c @@ -33,6 +33,7 @@ #include "db/sysdb.h" #include "providers/ldap/ldap_common.h" #include "providers/ldap/sdap_async.h" +#include "providers/ldap/sdap_async_private.h" #define sdap_nested_group_sysdb_search_users(domain, filter) \ sdap_nested_group_sysdb_search((domain), (filter), true) diff --git a/src/providers/ldap/sdap_dyndns.c b/src/providers/ldap/sdap_dyndns.c index 8fe2011d..bf5fb099 100644 --- a/src/providers/ldap/sdap_dyndns.c +++ b/src/providers/ldap/sdap_dyndns.c @@ -27,6 +27,7 @@ #include "providers/dp_backend.h" #include "providers/dp_dyndns.h" #include "providers/ldap/sdap_async_private.h" +#include "providers/ldap/sdap_dyndns.h" #include "providers/ldap/sdap_id_op.h" #include "providers/ldap/ldap_common.h" diff --git a/src/responder/common/negcache.c b/src/responder/common/negcache.c index 62c1537f..5d82e52b 100644 --- a/src/responder/common/negcache.c +++ b/src/responder/common/negcache.c @@ -22,6 +22,7 @@ #include "util/util.h" #include "confdb/confdb.h" #include "responder/common/responder.h" +#include "responder/common/negcache.h" #include #include #include "tdb.h" diff --git a/src/responder/ssh/sshsrv_dp.c b/src/responder/ssh/sshsrv_dp.c index dbdcd479..812e0c7f 100644 --- a/src/responder/ssh/sshsrv_dp.c +++ b/src/responder/ssh/sshsrv_dp.c @@ -27,6 +27,7 @@ #include "sbus/sbus_client.h" #include "providers/data_provider.h" #include "responder/common/responder.h" +#include "responder/ssh/sshsrv_private.h" struct sss_dp_get_ssh_host_info { struct sss_domain_info *dom; diff --git a/src/tests/common_check.c b/src/tests/common_check.c index 94ca40ff..d1b9d6c2 100644 --- a/src/tests/common_check.c +++ b/src/tests/common_check.c @@ -25,6 +25,7 @@ #include #include "tests/common.h" +#include "tests/common_check.h" void ck_leak_check_setup(void) { diff --git a/src/util/crypto/libcrypto/crypto_base64.c b/src/util/crypto/libcrypto/crypto_base64.c index 3a119a0e..15734a00 100644 --- a/src/util/crypto/libcrypto/crypto_base64.c +++ b/src/util/crypto/libcrypto/crypto_base64.c @@ -20,6 +20,7 @@ */ #include "util/util.h" +#include "util/crypto/sss_crypto.h" #include #include diff --git a/src/util/crypto/nss/nss_base64.c b/src/util/crypto/nss/nss_base64.c index be3de487..2062bfe3 100644 --- a/src/util/crypto/nss/nss_base64.c +++ b/src/util/crypto/nss/nss_base64.c @@ -22,6 +22,7 @@ #include "util/util.h" #include "util/crypto/nss/nss_util.h" +#include "util/crypto/sss_crypto.h" #include diff --git a/src/util/crypto/nss/nss_util.c b/src/util/crypto/nss/nss_util.c index 59390eb9..9a272ca9 100644 --- a/src/util/crypto/nss/nss_util.c +++ b/src/util/crypto/nss/nss_util.c @@ -31,6 +31,7 @@ #include #include "util/util.h" +#include "util/crypto/nss/nss_util.h" static int nspr_nss_init_done = 0; diff --git a/src/util/find_uid.c b/src/util/find_uid.c index 63b34645..d9b911b8 100644 --- a/src/util/find_uid.c +++ b/src/util/find_uid.c @@ -37,6 +37,7 @@ #include #include "dhash.h" +#include "util/find_uid.h" #include "util/util.h" #include "util/strtonum.h" diff --git a/src/util/murmurhash3.c b/src/util/murmurhash3.c index cab138e1..03d10ff6 100644 --- a/src/util/murmurhash3.c +++ b/src/util/murmurhash3.c @@ -11,6 +11,7 @@ #include #include "config.h" +#include "util/murmurhash3.h" #include "util/sss_endian.h" static uint32_t rotl(uint32_t x, int8_t r) diff --git a/src/util/user_info_msg.c b/src/util/user_info_msg.c index 505b03d9..25e99d2b 100644 --- a/src/util/user_info_msg.c +++ b/src/util/user_info_msg.c @@ -23,6 +23,7 @@ */ #include "util/util.h" +#include "util/user_info_msg.h" #include "sss_client/sss_cli.h" errno_t pack_user_info_chpass_error(TALLOC_CTX *mem_ctx, diff --git a/src/util/usertools.c b/src/util/usertools.c index 9edae41e..88f64807 100644 --- a/src/util/usertools.c +++ b/src/util/usertools.c @@ -26,6 +26,7 @@ #include "confdb/confdb.h" #include "util/util.h" +#include "responder/common/responder.h" #ifdef HAVE_LIBPCRE_LESSER_THAN_7 #define NAME_DOMAIN_PATTERN_OPTIONS (PCRE_EXTENDED) -- cgit