summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2013-08-21 11:51:36 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-08-22 20:05:14 +0200
commit38bf0c9a44ff9dccf38a2ed62a0ad2ad8b58c44e (patch)
tree8fe7d254615b11a212d27028e2716ddb2deb3d56
parent66d1f565dfb39325ab7daa264b5795b1f348756e (diff)
downloadsssd-38bf0c9a44ff9dccf38a2ed62a0ad2ad8b58c44e.tar.gz
sssd-38bf0c9a44ff9dccf38a2ed62a0ad2ad8b58c44e.tar.bz2
sssd-38bf0c9a44ff9dccf38a2ed62a0ad2ad8b58c44e.zip
Remove include recursion
warning reported by coverity include_recursion: #include file "src/providers/dp_backend.h" includes itself: dp_backend.h -> dp_refresh.h -> dp_backend.h (other events go to each file) primary_file: During compilation of file 'src/krb5_plugin/sssd_krb5_locator_plugin.c include_recursion: #include file "src/providers/dp_backend.h" includes itself: dp_backend.h -> dp_refresh.h -> dp_ptask.h -> dp_backend.h (other events go to each file) primary_file: During compilation of file 'src/krb5_plugin/sssd_krb5_locator_plugin.c'
-rw-r--r--src/providers/dp_ptask.h2
-rw-r--r--src/providers/dp_refresh.h1
2 files changed, 0 insertions, 3 deletions
diff --git a/src/providers/dp_ptask.h b/src/providers/dp_ptask.h
index 7e45862e..6a241fb7 100644
--- a/src/providers/dp_ptask.h
+++ b/src/providers/dp_ptask.h
@@ -25,8 +25,6 @@
#include <talloc.h>
#include <time.h>
-#include "providers/dp_backend.h"
-
/* solve circular dependency */
struct be_ctx;
diff --git a/src/providers/dp_refresh.h b/src/providers/dp_refresh.h
index 0dedbc3c..0c4d4a08 100644
--- a/src/providers/dp_refresh.h
+++ b/src/providers/dp_refresh.h
@@ -24,7 +24,6 @@
#include <tevent.h>
#include <talloc.h>
-#include "providers/dp_backend.h"
#include "providers/dp_ptask.h"
/* solve circular dependency */