diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2017-06-01 08:09:53 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2017-06-08 17:14:27 +0200 |
commit | 0fba03cab9580cab6898e855bcd0ca9b2e54ce67 (patch) | |
tree | c5f609142b4992509dc325ba1339ead2c09ae726 /src/lib | |
parent | 709989b80b5d6112fc6b62db762570330b9e2eea (diff) | |
download | sssd-0fba03cab9580cab6898e855bcd0ca9b2e54ce67.tar.gz sssd-0fba03cab9580cab6898e855bcd0ca9b2e54ce67.tar.xz sssd-0fba03cab9580cab6898e855bcd0ca9b2e54ce67.zip |
certmap: Remove unnecessary included files
Patch also replace util.h on place where it was not needed directly
and directly include required header files.
Reviewed-by: Fabiano FidĂȘncio <fidencio@redhat.com>
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/certmap/sss_certmap.h | 3 | ||||
-rw-r--r-- | src/lib/certmap/sss_certmap_krb5_match.c | 1 | ||||
-rw-r--r-- | src/lib/certmap/sss_certmap_ldap_mapping.c | 10 |
3 files changed, 7 insertions, 7 deletions
diff --git a/src/lib/certmap/sss_certmap.h b/src/lib/certmap/sss_certmap.h index 55485cc35..646e0f393 100644 --- a/src/lib/certmap/sss_certmap.h +++ b/src/lib/certmap/sss_certmap.h @@ -27,9 +27,6 @@ #include <stdlib.h> #include <stdint.h> -#include <stdbool.h> -#include <sys/types.h> - #include <talloc.h> /** diff --git a/src/lib/certmap/sss_certmap_krb5_match.c b/src/lib/certmap/sss_certmap_krb5_match.c index fe5e5bd2e..0cd339387 100644 --- a/src/lib/certmap/sss_certmap_krb5_match.c +++ b/src/lib/certmap/sss_certmap_krb5_match.c @@ -25,7 +25,6 @@ #include <ctype.h> #include "util/util.h" -#include "util/cert.h" #include "util/crypto/sss_crypto.h" #include "lib/certmap/sss_certmap.h" #include "lib/certmap/sss_certmap_int.h" diff --git a/src/lib/certmap/sss_certmap_ldap_mapping.c b/src/lib/certmap/sss_certmap_ldap_mapping.c index c64c05b31..a50e50401 100644 --- a/src/lib/certmap/sss_certmap_ldap_mapping.c +++ b/src/lib/certmap/sss_certmap_ldap_mapping.c @@ -22,11 +22,15 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#include "util/util.h" -#include "util/cert.h" -#include "util/crypto/sss_crypto.h" +#include <errno.h> +#include <stdbool.h> +#include <string.h> +#include <talloc.h> + +#include "util/dlinklist.h" #include "lib/certmap/sss_certmap.h" #include "lib/certmap/sss_certmap_int.h" + struct template_table { const char *name; const char **attr_name; |