summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/kadm5/ChangeLog6
-rw-r--r--src/lib/kadm5/admin.h2
-rw-r--r--src/lib/kadm5/clnt/ChangeLog6
-rw-r--r--src/lib/kadm5/clnt/client_init.c2
-rw-r--r--src/lib/kadm5/clnt/client_principal.c1
-rw-r--r--src/lib/kadm5/clnt/clnt_policy.c1
-rw-r--r--src/lib/kadm5/clnt/err_handle.h3
-rw-r--r--src/lib/kadm5/kadm_rpc_xdr.c2
-rw-r--r--src/lib/kadm5/server_internal.h5
-rw-r--r--src/lib/kadm5/srv/ChangeLog4
-rw-r--r--src/lib/kadm5/srv/server_init.c1
-rw-r--r--src/lib/kadm5/srv/svr_policy.c1
-rw-r--r--src/lib/kadm5/srv/svr_principal.c2
-rw-r--r--src/lib/kadm5/unit-test/ChangeLog4
-rw-r--r--src/lib/kadm5/unit-test/setkey-test.c2
15 files changed, 34 insertions, 8 deletions
diff --git a/src/lib/kadm5/ChangeLog b/src/lib/kadm5/ChangeLog
index 0f910962b..15bdaca53 100644
--- a/src/lib/kadm5/ChangeLog
+++ b/src/lib/kadm5/ChangeLog
@@ -1,3 +1,9 @@
+2005-11-17 Ken Raeburn <raeburn@mit.edu>
+
+ * admin.h: Include kdb.h instead of k5-int.h.
+ * kadm_rpc_xdr.c, server_internal.h: Include errno.h instead of
+ k5-int.h.
+
2005-08-20 Ken Raeburn <raeburn@mit.edu>
* configure.in: Use K5_AC_INIT instead of AC_INIT.
diff --git a/src/lib/kadm5/admin.h b/src/lib/kadm5/admin.h
index a70e90b4e..3ce01c7f3 100644
--- a/src/lib/kadm5/admin.h
+++ b/src/lib/kadm5/admin.h
@@ -40,7 +40,7 @@
#include <sys/types.h>
#include <gssrpc/rpc.h>
#include <krb5.h>
-#include <k5-int.h>
+#include <kdb.h>
#include <com_err.h>
#include <kadm5/kadm_err.h>
#include <kadm5/chpass_util_strings.h>
diff --git a/src/lib/kadm5/clnt/ChangeLog b/src/lib/kadm5/clnt/ChangeLog
index c3c2057a3..424272772 100644
--- a/src/lib/kadm5/clnt/ChangeLog
+++ b/src/lib/kadm5/clnt/ChangeLog
@@ -1,3 +1,9 @@
+2005-11-17 Ken Raeburn <raeburn@mit.edu>
+
+ * client_principal.c, clnt_policy.c: Include errno.h.
+ * client_init.c: Include k5-int.h before krb5.h.
+ * err_handle.h: Include com_err.h and krb5.h instead of k5-int.h.
+
2005-10-13 Ken Raeburn <raeburn@mit.edu>
* libkadm5clnt.exports: Don't export internal error-table
diff --git a/src/lib/kadm5/clnt/client_init.c b/src/lib/kadm5/clnt/client_init.c
index 248d3a3ce..a4e313628 100644
--- a/src/lib/kadm5/clnt/client_init.c
+++ b/src/lib/kadm5/clnt/client_init.c
@@ -38,8 +38,8 @@
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
-#include <krb5.h>
#include <k5-int.h> /* for KRB5_ADM_DEFAULT_PORT */
+#include <krb5.h>
#ifdef __STDC__
#include <stdlib.h>
#endif
diff --git a/src/lib/kadm5/clnt/client_principal.c b/src/lib/kadm5/clnt/client_principal.c
index 9816dd971..735d2bfc9 100644
--- a/src/lib/kadm5/clnt/client_principal.c
+++ b/src/lib/kadm5/clnt/client_principal.c
@@ -14,6 +14,7 @@ static char *rcsid = "$Header$";
#ifdef HAVE_MEMORY_H
#include <memory.h>
#endif
+#include <errno.h>
#include "client_internal.h"
#include "err_handle.h"
diff --git a/src/lib/kadm5/clnt/clnt_policy.c b/src/lib/kadm5/clnt/clnt_policy.c
index f9fdee40a..b1157d1e7 100644
--- a/src/lib/kadm5/clnt/clnt_policy.c
+++ b/src/lib/kadm5/clnt/clnt_policy.c
@@ -14,6 +14,7 @@ static char *rcsid = "$Header$";
#include "client_internal.h"
#include <stdlib.h>
#include <string.h>
+#include <errno.h>
#include "err_handle.h"
kadm5_ret_t
diff --git a/src/lib/kadm5/clnt/err_handle.h b/src/lib/kadm5/clnt/err_handle.h
index 4215e1496..7dea7b608 100644
--- a/src/lib/kadm5/clnt/err_handle.h
+++ b/src/lib/kadm5/clnt/err_handle.h
@@ -9,7 +9,8 @@
**********************************************************************/
#ifndef _idc_sec_1_err_handle_h_H
#define _idc_sec_1_err_handle_h_H
-#include <k5-int.h>
+#include <com_err.h>
+#include <krb5.h>
/* Everything else goes here */
diff --git a/src/lib/kadm5/kadm_rpc_xdr.c b/src/lib/kadm5/kadm_rpc_xdr.c
index f7090bdcf..346a36ea9 100644
--- a/src/lib/kadm5/kadm_rpc_xdr.c
+++ b/src/lib/kadm5/kadm_rpc_xdr.c
@@ -4,7 +4,7 @@
#include <gssrpc/rpc.h>
#include <krb5.h>
-#include <k5-int.h>
+#include <errno.h>
#include <kadm5/admin.h>
#include <kadm5/kadm_rpc.h>
#include <kadm5/admin_xdr.h>
diff --git a/src/lib/kadm5/server_internal.h b/src/lib/kadm5/server_internal.h
index 33d6593ac..cf4755b6d 100644
--- a/src/lib/kadm5/server_internal.h
+++ b/src/lib/kadm5/server_internal.h
@@ -17,7 +17,7 @@
#include <memory.h>
#endif
#include <stdlib.h>
-#include "k5-int.h"
+#include <errno.h>
#include <krb5/kdb.h>
#include <kadm5/admin.h>
#include "admin_internal.h"
@@ -39,7 +39,8 @@ typedef struct _osa_pw_hist_t {
int n_key_data;
krb5_key_data *key_data;
} osa_pw_hist_ent, *osa_pw_hist_t;
- typedef struct _osa_princ_ent_t {
+
+typedef struct _osa_princ_ent_t {
int version;
char *policy;
long aux_attributes;
diff --git a/src/lib/kadm5/srv/ChangeLog b/src/lib/kadm5/srv/ChangeLog
index 4d6fdfd45..39fb06e3a 100644
--- a/src/lib/kadm5/srv/ChangeLog
+++ b/src/lib/kadm5/srv/ChangeLog
@@ -1,3 +1,7 @@
+2005-11-17 Ken Raeburn <raeburn@mit.edu>
+
+ * server_init.c, svr_policy.c: Include errno.h.
+
2005-10-13 Ken Raeburn <raeburn@mit.edu>
* libkadm5srv.exports: Don't export internal error-table symbols,
diff --git a/src/lib/kadm5/srv/server_init.c b/src/lib/kadm5/srv/server_init.c
index a5369298a..dd1fe6693 100644
--- a/src/lib/kadm5/srv/server_init.c
+++ b/src/lib/kadm5/srv/server_init.c
@@ -11,6 +11,7 @@ static char *rcsid = "$Header$";
#include <stdio.h>
#include <stdlib.h>
+#include <errno.h>
#include <com_err.h>
#include <kadm5/admin.h>
#include <krb5.h>
diff --git a/src/lib/kadm5/srv/svr_policy.c b/src/lib/kadm5/srv/svr_policy.c
index 24398c1f4..31333b73c 100644
--- a/src/lib/kadm5/srv/svr_policy.c
+++ b/src/lib/kadm5/srv/svr_policy.c
@@ -12,6 +12,7 @@ static char *rcsid = "$Header$";
#include <kadm5/admin.h>
#include "server_internal.h"
#include <stdlib.h>
+#include <errno.h>
#define MAX_PW_HISTORY 10
#define MIN_PW_HISTORY 1
diff --git a/src/lib/kadm5/srv/svr_principal.c b/src/lib/kadm5/srv/svr_principal.c
index 85b0d76e5..6cecbb5d2 100644
--- a/src/lib/kadm5/srv/svr_principal.c
+++ b/src/lib/kadm5/srv/svr_principal.c
@@ -10,8 +10,8 @@ static char *rcsid = "$Header$";
#include <sys/types.h>
#include <sys/time.h>
+#include <errno.h>
#include <kadm5/admin.h>
-#include "k5-int.h"
#include <krb5/kdb.h>
#include <stdio.h>
#include <string.h>
diff --git a/src/lib/kadm5/unit-test/ChangeLog b/src/lib/kadm5/unit-test/ChangeLog
index 06f366fc2..f3bbd0afe 100644
--- a/src/lib/kadm5/unit-test/ChangeLog
+++ b/src/lib/kadm5/unit-test/ChangeLog
@@ -1,3 +1,7 @@
+2005-11-17 Ken Raeburn <raeburn@mit.edu>
+
+ * setkey-test.c: Include k5-int.h instead of krb5.h.
+
2005-10-13 Ken Raeburn <raeburn@mit.edu>
* lock-test.c (main): Don't call error table initialization
diff --git a/src/lib/kadm5/unit-test/setkey-test.c b/src/lib/kadm5/unit-test/setkey-test.c
index af78114de..eafa039e5 100644
--- a/src/lib/kadm5/unit-test/setkey-test.c
+++ b/src/lib/kadm5/unit-test/setkey-test.c
@@ -1,5 +1,5 @@
#include <stdio.h>
-#include <krb5.h>
+#include <k5-int.h>
#include <kadm5/admin.h>
#if HAVE_SRAND48