From: John Gilmore Date: Tue, 28 Feb 1995 10:30:29 +0000 (+0000) Subject: * *.[ch]: Avoid and includes X-Git-Tag: krb5-1.0-beta5~639 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5dc991a8fadf25e52163da660d7c4c7b0b8a19bf;p=krb5.git * *.[ch]: Avoid and includes git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5031 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kdc/ChangeLog b/src/kdc/ChangeLog index c9d2e00e7..8fc248cee 100644 --- a/src/kdc/ChangeLog +++ b/src/kdc/ChangeLog @@ -1,3 +1,7 @@ +Tue Feb 28 02:27:11 1995 John Gilmore (gnu at toad.com) + + * *.[ch]: Avoid and includes. + Fri Feb 10 14:35:42 1995 Theodore Y. Ts'o * do_tgs_req.c (process_tgs_req): krb5_use_keytype() was being diff --git a/src/kdc/dispatch.c b/src/kdc/dispatch.c index 8e29a7633..22b6cd0c0 100644 --- a/src/kdc/dispatch.c +++ b/src/kdc/dispatch.c @@ -23,11 +23,7 @@ * Dispatch an incoming packet. */ - -#include -#include -#include -#include +#include "k5-int.h" #include #include "kdc_util.h" #include "extern.h" diff --git a/src/kdc/do_as_req.c b/src/kdc/do_as_req.c index 15cf259a4..42ceaa1bf 100644 --- a/src/kdc/do_as_req.c +++ b/src/kdc/do_as_req.c @@ -24,16 +24,8 @@ * KDC Routines to deal with AS_REQ's */ - -#include -#include -#include -#include -#include -#include -#include - -#include +#include "k5-int.h" +#include "com_err.h" #include #ifdef KRB5_USE_INET diff --git a/src/kdc/do_tgs_req.c b/src/kdc/do_tgs_req.c index 489a30677..5b3dac667 100644 --- a/src/kdc/do_tgs_req.c +++ b/src/kdc/do_tgs_req.c @@ -24,14 +24,8 @@ * KDC Routines to deal with TGS_REQ's */ - -#include -#include -#include -#include -#include -#include -#include +#include "k5-int.h" +#include "com_err.h" #include #ifdef KRB5_USE_INET diff --git a/src/kdc/extern.c b/src/kdc/extern.c index e80994597..9c070f260 100644 --- a/src/kdc/extern.c +++ b/src/kdc/extern.c @@ -23,14 +23,7 @@ * allocations of extern stuff */ - -#include - -#include -#include -#include -#include - +#include "k5-int.h" #include "extern.h" /* real declarations of KDC's externs */ diff --git a/src/kdc/extern.h b/src/kdc/extern.h index 81c5f5ccc..6bb909296 100644 --- a/src/kdc/extern.h +++ b/src/kdc/extern.h @@ -23,8 +23,6 @@ * <<< Description >>> */ -#include - #ifndef __KRB5_KDC_EXTERN__ #define __KRB5_KDC_EXTERN__ diff --git a/src/kdc/kdc_util.c b/src/kdc/kdc_util.c index c631d443e..577c7b082 100644 --- a/src/kdc/kdc_util.c +++ b/src/kdc/kdc_util.c @@ -24,17 +24,10 @@ * Utility functions for the KDC implementation. */ - -#include -#include -#include - +#include "k5-int.h" #include "kdc_util.h" #include "extern.h" - -#include #include - #include /* diff --git a/src/kdc/kdc_util.h b/src/kdc/kdc_util.h index e2e8e8cbc..443b1d127 100644 --- a/src/kdc/kdc_util.h +++ b/src/kdc/kdc_util.h @@ -23,8 +23,6 @@ * Declarations for policy.c */ -#include - #ifndef __KRB5_KDC_UTIL__ #define __KRB5_KDC_UTIL__ diff --git a/src/kdc/kerberos_v4.c b/src/kdc/kerberos_v4.c index d9217522a..5f4b59030 100644 --- a/src/kdc/kerberos_v4.c +++ b/src/kdc/kerberos_v4.c @@ -25,8 +25,7 @@ #ifdef KRB4 -#include -#include +#include "k5-int.h" #if __STDC__ || defined(STDARG_PROTOTYPES) #include @@ -385,15 +384,7 @@ main(argc, argv) /* * v5 include files: */ -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include "com_err.h" #include "extern.h" /* to pick up master_princ */ static krb5_error_code retval; diff --git a/src/kdc/main.c b/src/kdc/main.c index 12c40f0af..325627e60 100644 --- a/src/kdc/main.c +++ b/src/kdc/main.c @@ -23,30 +23,18 @@ * Main procedure body for the KDC server process. */ - #include #include #include #include -#include +#include "com_err.h" /* for STDC, com_err gets varargs/stdarg */ #ifndef __STDC__ #include #endif -#include -#include -#include -#include -#include -#include - -#include -#ifdef PROVIDE_DES_CBC_CRC -#include -#endif - +#include "k5-int.h" #include "kdc_util.h" #include "extern.h" #include "kdc5_err.h" diff --git a/src/kdc/network.c b/src/kdc/network.c index 35b350166..e08777f38 100644 --- a/src/kdc/network.c +++ b/src/kdc/network.c @@ -23,14 +23,8 @@ * Network code for Kerberos v5 KDC. */ - -#include -#include -#include -#include -#include -#include -#include +#include "k5-int.h" +#include "com_err.h" #include "kdc_util.h" #include "extern.h" #include "kdc5_err.h" diff --git a/src/kdc/policy.c b/src/kdc/policy.c index 55d99b755..db5df2669 100644 --- a/src/kdc/policy.c +++ b/src/kdc/policy.c @@ -23,13 +23,7 @@ * Policy decision routines for KDC. */ - -#include - - -#include -#include - +#include "k5-int.h" #include "kdc_util.h" int diff --git a/src/kdc/policy.h b/src/kdc/policy.h index 2d90aaaf2..dd359c96f 100644 --- a/src/kdc/policy.h +++ b/src/kdc/policy.h @@ -23,8 +23,6 @@ * Declarations for policy.c */ -#include - #ifndef __KRB5_KDC_POLICY__ #define __KRB5_KDC_POLICY__ diff --git a/src/kdc/replay.c b/src/kdc/replay.c index 922ff6120..05f070e75 100644 --- a/src/kdc/replay.c +++ b/src/kdc/replay.c @@ -25,11 +25,7 @@ * */ - -#include -#include -#include -#include +#include "k5-int.h" #include "kdc_util.h" #include "extern.h" diff --git a/src/kdc/rtest.c b/src/kdc/rtest.c index a6315b87c..68835bd6b 100644 --- a/src/kdc/rtest.c +++ b/src/kdc/rtest.c @@ -23,10 +23,7 @@ * */ - -#include -#include -#include +#include "k5-int.h" #include #include "kdc_util.h"