diff options
author | Greg Hudson <ghudson@mit.edu> | 2014-07-05 11:50:58 -0400 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2014-07-08 19:19:24 -0400 |
commit | 02a1123cf44381690c28f18ab2c4ba8036200539 (patch) | |
tree | 821ad7e29d2f90227b6f12dc63aaae948baa2447 /src/plugins/kdb/ldap/ldap_util | |
parent | 6a8da91b691b8f51ac62d8142cd2fa32a69f3d15 (diff) | |
download | krb5-02a1123cf44381690c28f18ab2c4ba8036200539.zip krb5-02a1123cf44381690c28f18ab2c4ba8036200539.tar.gz krb5-02a1123cf44381690c28f18ab2c4ba8036200539.tar.bz2 |
Include autoconf.h before system headers
Include autoconf.h (either directly or via proxy) before system
headers, so that feature test macros defined there can affect the
system namespace. Where include order was changed, eliminate some
redundant or unnecessary includes.
ticket: 7961
Diffstat (limited to 'src/plugins/kdb/ldap/ldap_util')
4 files changed, 1 insertions, 7 deletions
diff --git a/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_policy.c b/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_policy.c index 6ec711f..5de0494 100644 --- a/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_policy.c +++ b/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_policy.c @@ -31,8 +31,6 @@ * Create / Delete / Modify / View / List policy objects. */ -#include <stdio.h> -#include <time.h> #include <k5-int.h> #include <kadm5/admin.h> #include "kdb5_ldap_util.h" diff --git a/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_realm.c b/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_realm.c index 7494928..ba8c12b 100644 --- a/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_realm.c +++ b/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_realm.c @@ -81,7 +81,6 @@ * Create / Modify / Destroy / View / List realm(s) */ -#include <stdio.h> #include <k5-int.h> #include <kadm5/admin.h> #include <adm_proto.h> diff --git a/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.c b/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.c index 05fac49..64d0f91 100644 --- a/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.c +++ b/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_services.c @@ -36,7 +36,6 @@ * functions manage the service objects. */ -#include <stdio.h> #include <k5-int.h> #include "kdb5_ldap_util.h" #include "kdb5_ldap_list.h" diff --git a/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_util.c b/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_util.c index fe1b70e..8d6f375 100644 --- a/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_util.c +++ b/src/plugins/kdb/ldap/ldap_util/kdb5_ldap_util.c @@ -75,11 +75,9 @@ * POSSIBILITY OF SUCH DAMAGE. */ +#include <k5-int.h> #include <locale.h> -#include <stdio.h> #include <time.h> - -#include <k5-int.h> #include <kadm5/admin.h> #include <adm_proto.h> #include "kdb5_ldap_util.h" |