summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Reichl <pavel.reichl@redhat.com>2013-10-22 15:21:33 +0100
committerJakub Hrozek <jhrozek@redhat.com>2013-11-04 10:52:15 +0100
commitf7257ab0bcea6c41fab5a4677787f3075ecdcb64 (patch)
tree504f3f1ab6d8911c8a7614b719ddb841acb1f263
parent64cb81a65e584858dd631bc5160959d350c091e3 (diff)
downloadsssd-f7257ab0bcea6c41fab5a4677787f3075ecdcb64.tar.gz
sssd-f7257ab0bcea6c41fab5a4677787f3075ecdcb64.tar.xz
sssd-f7257ab0bcea6c41fab5a4677787f3075ecdcb64.zip
Include ext headers with #include <foo.h> - cont
Changing style of including header files from outside of sssd tree - from "header.h" to <header.h>
-rw-r--r--src/ldb_modules/memberof.c3
-rw-r--r--src/providers/krb5/krb5_delayed_online_authentication.c2
-rw-r--r--src/responder/nss/nsssrv_private.h2
-rw-r--r--src/sbus/sbus_client.h2
-rw-r--r--src/tests/cmocka/test_find_uid.c2
-rw-r--r--src/tools/sss_debuglevel.c2
-rw-r--r--src/util/find_uid.c2
-rw-r--r--src/util/find_uid.h2
-rw-r--r--src/util/server.c2
9 files changed, 10 insertions, 9 deletions
diff --git a/src/ldb_modules/memberof.c b/src/ldb_modules/memberof.c
index c26a13bb9..d5f79d4fa 100644
--- a/src/ldb_modules/memberof.c
+++ b/src/ldb_modules/memberof.c
@@ -18,9 +18,10 @@
*/
#include <string.h>
+#include <dhash.h>
+
#include "ldb_module.h"
#include "util/util.h"
-#include "dhash.h"
#define DB_MEMBER "member"
#define DB_GHOST "ghost"
diff --git a/src/providers/krb5/krb5_delayed_online_authentication.c b/src/providers/krb5/krb5_delayed_online_authentication.c
index 46ed6f65c..3518cb7d1 100644
--- a/src/providers/krb5/krb5_delayed_online_authentication.c
+++ b/src/providers/krb5/krb5_delayed_online_authentication.c
@@ -27,9 +27,9 @@
#include <sys/types.h>
#include <keyutils.h>
#endif
+#include <dhash.h>
#include "providers/krb5/krb5_auth.h"
-#include "dhash.h"
#include "util/util.h"
#include "util/find_uid.h"
diff --git a/src/responder/nss/nsssrv_private.h b/src/responder/nss/nsssrv_private.h
index 04f1330c6..c1d6b119c 100644
--- a/src/responder/nss/nsssrv_private.h
+++ b/src/responder/nss/nsssrv_private.h
@@ -25,7 +25,7 @@
#ifndef NSSSRV_PRIVATE_H_
#define NSSSRV_PRIVATE_H_
-#include "dhash.h"
+#include <dhash.h>
struct nss_cmd_ctx {
struct cli_ctx *cctx;
diff --git a/src/sbus/sbus_client.h b/src/sbus/sbus_client.h
index 742f8a10c..ff322e451 100644
--- a/src/sbus/sbus_client.h
+++ b/src/sbus/sbus_client.h
@@ -22,7 +22,7 @@
#ifndef SBUS_CLIENT_H_
#define SBUS_CLIENT_H_
-#include "tevent.h"
+#include <tevent.h>
#include "sbus/sssd_dbus.h"
int sbus_client_init(TALLOC_CTX *mem_ctx,
diff --git a/src/tests/cmocka/test_find_uid.c b/src/tests/cmocka/test_find_uid.c
index d4837be0d..dcc367962 100644
--- a/src/tests/cmocka/test_find_uid.c
+++ b/src/tests/cmocka/test_find_uid.c
@@ -29,10 +29,10 @@
#include <unistd.h>
#include <sys/types.h>
#include <cmocka.h>
+#include <dhash.h>
#include "util/find_uid.h"
#include "tests/common.h"
-#include "dhash.h"
void test_check_if_uid_is_active_success(void **state)
{
diff --git a/src/tools/sss_debuglevel.c b/src/tools/sss_debuglevel.c
index 3fe634e84..de9c8ac65 100644
--- a/src/tools/sss_debuglevel.c
+++ b/src/tools/sss_debuglevel.c
@@ -28,9 +28,9 @@
#include <ctype.h>
#include <signal.h>
#include <utime.h>
+#include <ldb.h>
#include "config.h"
-#include "ldb.h"
#include "util/util.h"
#include "tools/tools_util.h"
#include "confdb/confdb.h"
diff --git a/src/util/find_uid.c b/src/util/find_uid.c
index 6d1478e7f..91ee7f685 100644
--- a/src/util/find_uid.c
+++ b/src/util/find_uid.c
@@ -35,8 +35,8 @@
#include <talloc.h>
#include <ctype.h>
#include <sys/time.h>
+#include <dhash.h>
-#include "dhash.h"
#include "util/find_uid.h"
#include "util/util.h"
#include "util/strtonum.h"
diff --git a/src/util/find_uid.h b/src/util/find_uid.h
index 154a5f955..e01b3fce3 100644
--- a/src/util/find_uid.h
+++ b/src/util/find_uid.h
@@ -26,8 +26,8 @@
#include <talloc.h>
#include <sys/types.h>
+#include <dhash.h>
-#include "dhash.h"
#include "util/util.h"
errno_t get_uid_table(TALLOC_CTX *mem_ctx, hash_table_t **table);
diff --git a/src/util/server.c b/src/util/server.c
index b1c59e1d7..c1a9644a1 100644
--- a/src/util/server.c
+++ b/src/util/server.c
@@ -28,8 +28,8 @@
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
+#include <ldb.h>
#include "util/util.h"
-#include "ldb.h"
#include "confdb/confdb.h"
#include "monitor/monitor_interfaces.h"