aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1995-05-23 20:48:59 +0000
committerTheodore Tso <tytso@mit.edu>1995-05-23 20:48:59 +0000
commit61bf8b459f27898806ce780c949d5895a12a5fb1 (patch)
treee8f39ce1e76f4a40e718af4cc750202e61e5e72d
parenta3dc0166b47f4fcec8784831bfb26814623dc309 (diff)
downloadkrb5-61bf8b459f27898806ce780c949d5895a12a5fb1.zip
krb5-61bf8b459f27898806ce780c949d5895a12a5fb1.tar.gz
krb5-61bf8b459f27898806ce780c949d5895a12a5fb1.tar.bz2
Rearrange #include files so that krb5.h gets included first, so that
the debugging information can be more efficiently collapsed since the type numbers will be the same. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5853 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r--src/lib/krb5/asn.1/ChangeLog10
-rw-r--r--src/lib/krb5/asn.1/asn1_decode.c2
-rw-r--r--src/lib/krb5/asn.1/asn1_encode.h2
-rw-r--r--src/lib/krb5/ccache/file/ChangeLog7
-rw-r--r--src/lib/krb5/ccache/file/fcc_maybe.c4
-rw-r--r--src/lib/krb5/krb/ChangeLog8
-rw-r--r--src/lib/krb5/krb/chk_trans.c2
-rw-r--r--src/lib/krb5/krb/gc_frm_kdc.c2
-rw-r--r--src/lib/krb5/krb/preauth.c2
-rw-r--r--src/lib/krb5/krb/t_kerb.c2
-rw-r--r--src/lib/krb5/krb/t_walk_rtree.c2
-rw-r--r--src/lib/krb5/krb/unparse.c2
-rw-r--r--src/lib/krb5/os/ChangeLog7
-rw-r--r--src/lib/krb5/os/t_std_conf.c4
-rw-r--r--src/lib/krb5/os/timeofday.c5
-rw-r--r--src/lib/krb5/os/unlck_file.c2
-rw-r--r--src/lib/krb5/posix/ChangeLog7
-rw-r--r--src/lib/krb5/posix/daemon.c2
-rw-r--r--src/lib/krb5/rcache/ChangeLog7
-rw-r--r--src/lib/krb5/rcache/rc_io.c2
20 files changed, 63 insertions, 18 deletions
diff --git a/src/lib/krb5/asn.1/ChangeLog b/src/lib/krb5/asn.1/ChangeLog
index c19deaa..241fbea 100644
--- a/src/lib/krb5/asn.1/ChangeLog
+++ b/src/lib/krb5/asn.1/ChangeLog
@@ -1,3 +1,13 @@
+Tue May 23 16:22:57 1995 Theodore Y. Ts'o (tytso@dcl)
+
+ * asn1_decode.c: Rearrange #include files so that krb5.h gets
+ included first, so that the debugging information can be
+ more efficiently collapsed since the type numbers will be
+ the same.
+
+ * asn1_encode.h: Rearrange the #include files so that the type
+ numbers are the same.
+
Thu Apr 13 20:13:38 1995 Keith Vetter (keithv@fusion.com)
* asn1_k_decode.c: fixed up 'unreferenced local variable' problems.
diff --git a/src/lib/krb5/asn.1/asn1_decode.c b/src/lib/krb5/asn.1/asn1_decode.c
index 54a14df..cb48c2e 100644
--- a/src/lib/krb5/asn.1/asn1_decode.c
+++ b/src/lib/krb5/asn.1/asn1_decode.c
@@ -21,10 +21,10 @@
* or implied warranty.
*/
-#include <stdio.h>
/* ASN.1 primitive decoders */
#include "asn1_decode.h"
#include "asn1_get.h"
+#include <stdio.h>
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
#ifdef TIME_WITH_SYS_TIME
diff --git a/src/lib/krb5/asn.1/asn1_encode.h b/src/lib/krb5/asn.1/asn1_encode.h
index c8995b5..baae562 100644
--- a/src/lib/krb5/asn.1/asn1_encode.h
+++ b/src/lib/krb5/asn.1/asn1_encode.h
@@ -25,9 +25,9 @@
#define __ASN1_ENCODE_H__
#include "k5-int.h"
-#include <time.h>
#include "krbasn1.h"
#include "asn1buf.h"
+#include <time.h>
/*
Overview
diff --git a/src/lib/krb5/ccache/file/ChangeLog b/src/lib/krb5/ccache/file/ChangeLog
index 067ec85..894b401 100644
--- a/src/lib/krb5/ccache/file/ChangeLog
+++ b/src/lib/krb5/ccache/file/ChangeLog
@@ -1,3 +1,10 @@
+Tue May 23 16:28:07 1995 Theodore Y. Ts'o (tytso@dcl)
+
+ * fcc_maybe.c: Rearrange #include files so that krb5.h gets
+ included first, so that the debugging information can be
+ more efficiently collapsed since the type numbers will be
+ the same.
+
Tue May 9 16:23:39 1995 Ezra Peisach <epeisach@kangaroo.mit.edu>
* fcc_close.c (krb5_fcc_close): Remove <malloc.h> as not all
diff --git a/src/lib/krb5/ccache/file/fcc_maybe.c b/src/lib/krb5/ccache/file/fcc_maybe.c
index 6378d68..6f4cfd0 100644
--- a/src/lib/krb5/ccache/file/fcc_maybe.c
+++ b/src/lib/krb5/ccache/file/fcc_maybe.c
@@ -24,14 +24,14 @@
* This file contains the source code for conditional open/close calls.
*/
+#include "k5-int.h"
+
#define NEED_SOCKETS /* Only for ntohs, etc. */
#if HAVE_UNISTD_H
#include <unistd.h>
#endif
#include "fcc.h"
-#include <errno.h>
-#include "k5-int.h"
int krb5_fcc_default_format = KRB5_FCC_DEFAULT_FVNO;
diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog
index 2ff9d02..d7ceab3 100644
--- a/src/lib/krb5/krb/ChangeLog
+++ b/src/lib/krb5/krb/ChangeLog
@@ -1,3 +1,11 @@
+Tue May 23 16:28:42 1995 Theodore Y. Ts'o (tytso@dcl)
+
+ * gc_frm_kdc.c, preauth.c, t_kerb.c, t_walk_rtree.c, unparse.c:
+ Rearrange #include files so that krb5.h gets included
+ first, so that the debugging information can be more
+ efficiently collapsed since the type numbers will be the
+ same.
+
Sat May 20 14:01:16 1995 Ezra Peisach <epeisach@kangaroo.mit.edu>
* rd_safe.c (krb5_rd_safe): Increment remote_seq_number if
diff --git a/src/lib/krb5/krb/chk_trans.c b/src/lib/krb5/krb/chk_trans.c
index 75794e8..c324667 100644
--- a/src/lib/krb5/krb/chk_trans.c
+++ b/src/lib/krb5/krb/chk_trans.c
@@ -20,8 +20,8 @@
* or implied warranty.
*/
-#include <stdio.h>
#include "k5-int.h"
+#include <stdio.h>
#define MAX_REALM_LN 500
diff --git a/src/lib/krb5/krb/gc_frm_kdc.c b/src/lib/krb5/krb/gc_frm_kdc.c
index a2a7f57..f2a3267 100644
--- a/src/lib/krb5/krb/gc_frm_kdc.c
+++ b/src/lib/krb5/krb/gc_frm_kdc.c
@@ -27,8 +27,8 @@
* along the way.
*/
-#include <stdio.h>
#include "k5-int.h"
+#include <stdio.h>
#include "int-proto.h"
/*
diff --git a/src/lib/krb5/krb/preauth.c b/src/lib/krb5/krb/preauth.c
index 00c17a9a..24269e0 100644
--- a/src/lib/krb5/krb/preauth.c
+++ b/src/lib/krb5/krb/preauth.c
@@ -37,9 +37,9 @@
* into different files.... [tytso:19920903.1618EDT]
*/
+#include "k5-int.h"
#include <stdio.h>
#include <time.h>
-#include "k5-int.h"
#include <syslog.h>
#ifdef _MSDOS
#define getpid _getpid
diff --git a/src/lib/krb5/krb/t_kerb.c b/src/lib/krb5/krb/t_kerb.c
index f2dcf8a..ef0537e 100644
--- a/src/lib/krb5/krb/t_kerb.c
+++ b/src/lib/krb5/krb/t_kerb.c
@@ -3,6 +3,7 @@
* routines.
*/
+#include "krb5.h"
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
@@ -12,7 +13,6 @@
#include <arpa/inet.h>
#include "com_err.h"
-#include "krb5.h"
void test_425_conv_principal(ctx, name, inst, realm)
diff --git a/src/lib/krb5/krb/t_walk_rtree.c b/src/lib/krb5/krb/t_walk_rtree.c
index c61ec4e..ca8f442 100644
--- a/src/lib/krb5/krb/t_walk_rtree.c
+++ b/src/lib/krb5/krb/t_walk_rtree.c
@@ -2,8 +2,8 @@
* t_walk_rtree.c --- test krb5_walk_realm_tree
*/
-#include <stdio.h>
#include "k5-int.h"
+#include <stdio.h>
#include "com_err.h"
main(argc, argv)
diff --git a/src/lib/krb5/krb/unparse.c b/src/lib/krb5/krb/unparse.c
index d047a8b..0ff3cf8 100644
--- a/src/lib/krb5/krb/unparse.c
+++ b/src/lib/krb5/krb/unparse.c
@@ -29,8 +29,8 @@
*/
-#include <stdio.h>
#include "k5-int.h"
+#include <stdio.h>
/*
* converts the multi-part principal format used in the protocols to a
diff --git a/src/lib/krb5/os/ChangeLog b/src/lib/krb5/os/ChangeLog
index bbb38ac..298da86 100644
--- a/src/lib/krb5/os/ChangeLog
+++ b/src/lib/krb5/os/ChangeLog
@@ -1,3 +1,10 @@
+Tue May 23 16:29:24 1995 Theodore Y. Ts'o (tytso@dcl)
+
+ * t_std_conf.c, timeofday.c, unlck_file.c: Rearrange #include
+ files so that krb5.h gets included first, so that the
+ debugging information can be more efficiently collapsed
+ since the type numbers will be the same.
+
Tue May 16 10:33:03 EDT 1995 Paul Park (pjpark@mit.edu)
* gmt_mktime.c - Use the actual year instead of the number of years
since 1900 when determining if a year has a leapday.
diff --git a/src/lib/krb5/os/t_std_conf.c b/src/lib/krb5/os/t_std_conf.c
index 0e8a924..4b1e0b0 100644
--- a/src/lib/krb5/os/t_std_conf.c
+++ b/src/lib/krb5/os/t_std_conf.c
@@ -3,6 +3,8 @@
* values from the krb5 config file(s).
*/
+#include "krb5.h"
+
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
@@ -11,8 +13,6 @@
#include <netinet/in.h>
#include <arpa/inet.h>
-#include "krb5.h"
-
void test_get_default_realm(ctx)
krb5_context ctx;
{
diff --git a/src/lib/krb5/os/timeofday.c b/src/lib/krb5/os/timeofday.c
index 82636ef..3aaf814 100644
--- a/src/lib/krb5/os/timeofday.c
+++ b/src/lib/krb5/os/timeofday.c
@@ -25,11 +25,10 @@
*/
-#include <time.h>
-#include <stdio.h> /* needed for libos-proto.h */
-
#include "k5-int.h"
+#include <time.h>
+
#ifdef POSIX_TYPES
#define timetype time_t
#else
diff --git a/src/lib/krb5/os/unlck_file.c b/src/lib/krb5/os/unlck_file.c
index 900073e..44f90e6 100644
--- a/src/lib/krb5/os/unlck_file.c
+++ b/src/lib/krb5/os/unlck_file.c
@@ -24,8 +24,8 @@
* libos: krb5_lock_file routine
*/
-#include <stdio.h>
#include "k5-int.h"
+#include <stdio.h>
krb5_error_code
krb5_unlock_file(context, filep, pathname)
diff --git a/src/lib/krb5/posix/ChangeLog b/src/lib/krb5/posix/ChangeLog
index 469161b..1a7d318 100644
--- a/src/lib/krb5/posix/ChangeLog
+++ b/src/lib/krb5/posix/ChangeLog
@@ -1,3 +1,10 @@
+Tue May 23 16:30:03 1995 Theodore Y. Ts'o (tytso@dcl)
+
+ * daemon.c: Rearrange #include files so that krb5.h gets included
+ first, so that the debugging information can be more
+ efficiently collapsed since the type numbers will be the
+ same.
+
Fri Apr 28 08:37:58 1995 Theodore Y. Ts'o <tytso@lurch.mit.edu>
* daemon.c (daemon): Lint cleanup; explicitly declare that
diff --git a/src/lib/krb5/posix/daemon.c b/src/lib/krb5/posix/daemon.c
index afe4c04..fb7a62a 100644
--- a/src/lib/krb5/posix/daemon.c
+++ b/src/lib/krb5/posix/daemon.c
@@ -31,6 +31,7 @@
* SUCH DAMAGE.
*/
+#include "k5-int.h"
#include <fcntl.h>
#include <sys/types.h>
#include <sys/file.h>
@@ -38,7 +39,6 @@
#ifdef HAS_PATHS_H
#include <paths.h>
#endif
-#include "k5-int.h"
#ifndef _PATH_DEVNULL
#define _PATH_DEVNULL "/dev/null"
diff --git a/src/lib/krb5/rcache/ChangeLog b/src/lib/krb5/rcache/ChangeLog
index 30e6ffa..585ca17 100644
--- a/src/lib/krb5/rcache/ChangeLog
+++ b/src/lib/krb5/rcache/ChangeLog
@@ -1,3 +1,10 @@
+Tue May 23 16:30:29 1995 Theodore Y. Ts'o (tytso@dcl)
+
+ * rc_io.c: Rearrange #include files so that krb5.h gets included
+ first, so that the debugging information can be more
+ efficiently collapsed since the type numbers will be the
+ same.
+
Mon May 1 23:10:26 1995 Theodore Y. Ts'o (tytso@dcl)
* rc_dfl.c (krb5_rc_dfl_recover): Fix memory leaks in this
diff --git a/src/lib/krb5/rcache/rc_io.c b/src/lib/krb5/rcache/rc_io.c
index 3bbd600..92540ca 100644
--- a/src/lib/krb5/rcache/rc_io.c
+++ b/src/lib/krb5/rcache/rc_io.c
@@ -16,8 +16,8 @@
#define NEED_SOCKETS
#define NEED_LOWLEVEL_IO
-#include <stdio.h> /* for P_tmpdir */
#include <krb5.h>
+#include <stdio.h> /* for P_tmpdir */
#include "rc_base.h"
#include "rc_dfl.h"
#include "rc_io.h"