summaryrefslogtreecommitdiffstats
path: root/src/slave
diff options
context:
space:
mode:
Diffstat (limited to 'src/slave')
-rw-r--r--src/slave/kprop.c17
-rw-r--r--src/slave/kpropd.c24
2 files changed, 19 insertions, 22 deletions
diff --git a/src/slave/kprop.c b/src/slave/kprop.c
index ae6c20a3f..d38316ea1 100644
--- a/src/slave/kprop.c
+++ b/src/slave/kprop.c
@@ -29,14 +29,6 @@ static char rcsid_kprop_c[] =
"$Id$";
#endif /* !lint && !SABER */
-#include <krb5/krb5.h>
-#include <krb5/asn1.h>
-#include <krb5/osconf.h>
-#include <krb5/kdb.h>
-#include <krb5/kdb_dbm.h>
-#include <krb5/ext-proto.h>
-#include <krb5/los-proto.h>
-#include <com_err.h>
#include <errno.h>
#ifdef POSIX_FILE_LOCKS
#include <fcntl.h>
@@ -55,6 +47,15 @@ static char rcsid_kprop_c[] =
#include <sys/param.h>
#include <netdb.h>
+#include <krb5/krb5.h>
+#include <krb5/asn1.h>
+#include <krb5/osconf.h>
+#include <krb5/kdb.h>
+#include <krb5/kdb_dbm.h>
+#include <krb5/ext-proto.h>
+#include <krb5/los-proto.h>
+#include <com_err.h>
+
#include "kprop.h"
static char *kprop_version = KPROP_PROT_VERSION;
diff --git a/src/slave/kpropd.c b/src/slave/kpropd.c
index bbff2a4bd..37e7d44b5 100644
--- a/src/slave/kpropd.c
+++ b/src/slave/kpropd.c
@@ -35,21 +35,7 @@ static char rcsid_kpropd_c[] =
"$Id$";
#endif /* !lint && !SABER */
-#include <krb5/krb5.h>
-#include <krb5/asn1.h>
-#include <krb5/osconf.h>
-#include <krb5/kdb.h>
-#include <krb5/kdb_dbm.h>
-#include <krb5/ext-proto.h>
-#include <krb5/los-proto.h>
-#include <com_err.h>
-#include <errno.h>
-
#include <stdio.h>
-#ifndef __STDC__
-/* com_err.h gets <stdarg.h> */
-#include <varargs.h>
-#endif
#include <ctype.h>
#include <sys/file.h>
#include <signal.h>
@@ -67,6 +53,16 @@ static char rcsid_kpropd_c[] =
#include <netdb.h>
#include <syslog.h>
+#include <krb5/krb5.h>
+#include <krb5/asn1.h>
+#include <krb5/osconf.h>
+#include <krb5/kdb.h>
+#include <krb5/kdb_dbm.h>
+#include <krb5/ext-proto.h>
+#include <krb5/los-proto.h>
+#include <com_err.h>
+#include <errno.h>
+
#include "kprop.h"
#define SYSLOG_CLASS LOG_DAEMON