summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2013-09-21 19:10:13 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-09-24 15:15:41 +0200
commit5cd4414fce1e0eb4133dfc6fc828bf25c8a959f9 (patch)
tree517b917312730f74344dd9c1d71b1c5f9d4be9f0
parent889442337407f85c06a88ec158047e1586675e20 (diff)
downloadsssd-5cd4414fce1e0eb4133dfc6fc828bf25c8a959f9.tar.gz
sssd-5cd4414fce1e0eb4133dfc6fc828bf25c8a959f9.tar.xz
sssd-5cd4414fce1e0eb4133dfc6fc828bf25c8a959f9.zip
Include header file in implementation module.
Declarations of public functions was in header files, but header files was not included in implementation file.
-rw-r--r--src/providers/ad/ad_domain_info.c1
-rw-r--r--src/providers/ad/ad_srv.c1
-rw-r--r--src/providers/ipa/ipa_auth.c1
-rw-r--r--src/providers/ipa/ipa_s2n_exop.c1
-rw-r--r--src/providers/ipa/ipa_srv.c1
-rw-r--r--src/providers/krb5/krb5_become_user.c1
-rw-r--r--src/providers/krb5/krb5_init_shared.c1
-rw-r--r--src/providers/ldap/ldap_access.c1
-rw-r--r--src/providers/ldap/sdap_async_autofs.c1
-rw-r--r--src/providers/ldap/sdap_async_enum.c1
-rw-r--r--src/providers/ldap/sdap_async_nested_groups.c1
-rw-r--r--src/providers/ldap/sdap_dyndns.c1
-rw-r--r--src/responder/common/negcache.c1
-rw-r--r--src/responder/ssh/sshsrv_dp.c1
-rw-r--r--src/tests/common_check.c1
-rw-r--r--src/util/crypto/libcrypto/crypto_base64.c1
-rw-r--r--src/util/crypto/nss/nss_base64.c1
-rw-r--r--src/util/crypto/nss/nss_util.c1
-rw-r--r--src/util/find_uid.c1
-rw-r--r--src/util/murmurhash3.c1
-rw-r--r--src/util/user_info_msg.c1
-rw-r--r--src/util/usertools.c1
22 files changed, 22 insertions, 0 deletions
diff --git a/src/providers/ad/ad_domain_info.c b/src/providers/ad/ad_domain_info.c
index eff2034d1..c24da939f 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 a238c192e..89186dd12 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 651196a96..3db623f11 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 d8506aaae..e7dbeb459 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 aa07cf054..21c754076 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 8cbeb1ce7..4d5346f37 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 <grp.h>
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 c9eec2f87..4573d75d2 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 bb5c37f44..8d5b5e228 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 4886150f9..4d5e953d7 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 9a520ba5f..b03c19a50 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 6e7056618..7040c6e9b 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 8fe2011d1..bf5fb099e 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 62c1537f2..5d82e52b5 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 <fcntl.h>
#include <time.h>
#include "tdb.h"
diff --git a/src/responder/ssh/sshsrv_dp.c b/src/responder/ssh/sshsrv_dp.c
index dbdcd479e..812e0c7f6 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 94ca40ffe..d1b9d6c23 100644
--- a/src/tests/common_check.c
+++ b/src/tests/common_check.c
@@ -25,6 +25,7 @@
#include <check.h>
#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 3a119a0e9..15734a00d 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 <openssl/bio.h>
#include <openssl/evp.h>
diff --git a/src/util/crypto/nss/nss_base64.c b/src/util/crypto/nss/nss_base64.c
index be3de487f..2062bfe36 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 <base64.h>
diff --git a/src/util/crypto/nss/nss_util.c b/src/util/crypto/nss/nss_util.c
index 59390eb96..9a272ca92 100644
--- a/src/util/crypto/nss/nss_util.c
+++ b/src/util/crypto/nss/nss_util.c
@@ -31,6 +31,7 @@
#include <pk11func.h>
#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 63b346457..d9b911b85 100644
--- a/src/util/find_uid.c
+++ b/src/util/find_uid.c
@@ -37,6 +37,7 @@
#include <sys/time.h>
#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 cab138e17..03d10ff6a 100644
--- a/src/util/murmurhash3.c
+++ b/src/util/murmurhash3.c
@@ -11,6 +11,7 @@
#include <string.h>
#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 505b03d91..25e99d2b1 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 9edae41e0..88f648079 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)