it suffices to remove the inclusion of k5-int.h, sometimes including errno.h or
another header. In a couple cases, include order has been changed, or k5-int.h
has been included instead of krb5.h.
ticket: 3236
status: resolved
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17494
dc483132-0cff-0310-8789-
dd5450dbe970
+2005-11-17 Ken Raeburn <raeburn@mit.edu>
+
+ * kadmin.c: Include errno.h instead of k5-int.h.
+ * keytab.c: Include errno.h.
+
2005-06-20 Ken Raeburn <raeburn@mit.edu>
* Makefile.in (KDB_DEP_LIB): Use DL_LIB and THREAD_LINKOPTS
*/
#include <krb5.h>
-#include <k5-int.h>
#include <kadm5/admin.h>
#include <krb5/adm_proto.h>
+#include <errno.h>
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <errno.h>
#include <krb5.h>
#include <kadm5/admin.h>
+2005-11-17 Ken Raeburn <raeburn@mit.edu>
+
+ * tcl_kadm5.c, tcl_ovsec_kadm.c: Don't include k5-int.h.
+
2005-06-20 Ken Raeburn <raeburn@mit.edu>
* Makefile.in (KDB_DEP_LIB): Use THREAD_LINKOPTS instead of
#define USE_KADM5_API_VERSION 2
#include <kadm5/admin.h>
#include <com_err.h>
-#include <k5-int.h>
#include <errno.h>
#include <stdlib.h>
#include <adb_err.h>
#define USE_KADM5_API_VERSION 1
#include <kadm5/admin.h>
#include <com_err.h>
-#include <k5-int.h>
#include <errno.h>
#include <stdlib.h>
#include "tcl_kadm5.h"
+2005-11-17 Ken Raeburn <raeburn@mit.edu>
+
+ * krb524d.c: Include k5-int.h instead of krb5.h.
+
2005-06-20 Ken Raeburn <raeburn@mit.edu>
* Makefile.in (KDB_DEP_LIB): Use DL_LIB and THREAD_LINKOPTS
* PERFORMANCE OF THIS SOFTWARE.
*/
-#include <krb5.h>
+#include <k5-int.h>
#include <kadm5/admin.h>
#include <krb5/adm_proto.h>
#include <com_err.h>
+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.
#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>
+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
#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
#ifdef HAVE_MEMORY_H
#include <memory.h>
#endif
+#include <errno.h>
#include "client_internal.h"
#include "err_handle.h"
#include "client_internal.h"
#include <stdlib.h>
#include <string.h>
+#include <errno.h>
#include "err_handle.h"
kadm5_ret_t
**********************************************************************/
#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 */
#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>
#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"
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;
+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,
#include <stdio.h>
#include <stdlib.h>
+#include <errno.h>
#include <com_err.h>
#include <kadm5/admin.h>
#include <krb5.h>
#include <kadm5/admin.h>
#include "server_internal.h"
#include <stdlib.h>
+#include <errno.h>
#define MAX_PW_HISTORY 10
#define MIN_PW_HISTORY 1
#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>
+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
#include <stdio.h>
-#include <krb5.h>
+#include <k5-int.h>
#include <kadm5/admin.h>
#if HAVE_SRAND48
+2005-11-17 Ken Raeburn <raeburn@mit.edu>
+
+ * policy_db.h: Include errno.h and krb5.h instead of k5-int.h.
+
2005-10-27 Ken Raeburn <raeburn@mit.edu>
* configure.in: Set build_dynobj=yes.
#ifndef __ADB_H__
#define __ADB_H__
#include <sys/types.h>
-#include "k5-int.h"
+#include <errno.h>
+#include <krb5.h>
#include <krb5/kdb.h>
#include <db.h>
#include <gssrpc/types.h>
+2005-11-17 Ken Raeburn <raeburn@mit.edu>
+
+ * utility.h: Don't include krb5.h.
+ * utility.c: Include utility.h before krb5.h.
+
2005-06-01 Ken Raeburn <raeburn@mit.edu>
* trval.c (convert_nibble): Declare the argument with a type.
-#include "krb5.h"
#include "utility.h"
+#include "krb5.h"
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#ifndef __UTILITY_H__
#define __UTILITY_H__
-#include "krb5.h"
#include "krbasn1.h"
#include "asn1buf.h"