From cacff5ab51975a95a96d998ecaf2cf8708a636de Mon Sep 17 00:00:00 2001 From: John Gilmore Date: Tue, 28 Feb 1995 08:58:11 +0000 Subject: [PATCH] Avoid includes git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5010 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/free/ChangeLog | 4 ++++ src/lib/krb5/free/f_addr.c | 5 +---- src/lib/krb5/free/f_address.c | 4 +--- src/lib/krb5/free/f_ap_rep.c | 4 +--- src/lib/krb5/free/f_ap_req.c | 4 +--- src/lib/krb5/free/f_arep_enc.c | 4 +--- src/lib/krb5/free/f_auth_cnt.c | 4 +--- src/lib/krb5/free/f_authdata.c | 4 +--- src/lib/krb5/free/f_authent.c | 4 +--- src/lib/krb5/free/f_cksum.c | 4 +--- src/lib/krb5/free/f_cred.c | 4 +--- src/lib/krb5/free/f_cred_cnt.c | 4 +--- src/lib/krb5/free/f_cred_enc.c | 4 +--- src/lib/krb5/free/f_creds.c | 4 +--- src/lib/krb5/free/f_enc_kdc.c | 4 +--- src/lib/krb5/free/f_enc_tkt.c | 4 +--- src/lib/krb5/free/f_error.c | 4 +--- src/lib/krb5/free/f_kdc_rp.c | 4 +--- src/lib/krb5/free/f_kdc_rq.c | 4 +--- src/lib/krb5/free/f_keyblock.c | 4 +--- src/lib/krb5/free/f_last_req.c | 4 +--- src/lib/krb5/free/f_padata.c | 4 +--- src/lib/krb5/free/f_princ.c | 4 +--- src/lib/krb5/free/f_priv.c | 4 +--- src/lib/krb5/free/f_priv_enc.c | 4 +--- src/lib/krb5/free/f_pwd_data.c | 4 +--- src/lib/krb5/free/f_pwd_seq.c | 4 +--- src/lib/krb5/free/f_safe.c | 4 +--- src/lib/krb5/free/f_tckt.c | 4 +--- src/lib/krb5/free/f_tckts.c | 4 +--- src/lib/krb5/free/f_tgt_cred.c | 5 +---- src/lib/krb5/free/f_tkt_auth.c | 4 +--- 32 files changed, 35 insertions(+), 95 deletions(-) diff --git a/src/lib/krb5/free/ChangeLog b/src/lib/krb5/free/ChangeLog index f8c7adc75..f3dd01e17 100644 --- a/src/lib/krb5/free/ChangeLog +++ b/src/lib/krb5/free/ChangeLog @@ -1,3 +1,7 @@ +Tue Feb 28 00:38:44 1995 John Gilmore (gnu at toad.com) + + * *.c: Avoid includes. + Tue Feb 21 23:39:19 1995 Theodore Y. Ts'o (tytso@dcl) * f_cred_enc.c (krb5_free_cred_enc_part): Remove call to xfree at diff --git a/src/lib/krb5/free/f_addr.c b/src/lib/krb5/free/f_addr.c index ad5e1fe8b..6da52acfe 100644 --- a/src/lib/krb5/free/f_addr.c +++ b/src/lib/krb5/free/f_addr.c @@ -23,10 +23,7 @@ * krb5_free_address() */ - -#include -#include -#include +#include "k5-int.h" void INTERFACE krb5_free_address(context, val) diff --git a/src/lib/krb5/free/f_address.c b/src/lib/krb5/free/f_address.c index 9ba5f9b6f..7f3bfa662 100644 --- a/src/lib/krb5/free/f_address.c +++ b/src/lib/krb5/free/f_address.c @@ -24,9 +24,7 @@ * krb5_free_addresses() */ - -#include -#include +#include "k5-int.h" void INTERFACE krb5_free_addresses(context, val) diff --git a/src/lib/krb5/free/f_ap_rep.c b/src/lib/krb5/free/f_ap_rep.c index eb9c6bb0d..5d608b64e 100644 --- a/src/lib/krb5/free/f_ap_rep.c +++ b/src/lib/krb5/free/f_ap_rep.c @@ -24,9 +24,7 @@ * krb5_free_ap_rep() */ - -#include -#include +#include "k5-int.h" void INTERFACE krb5_free_ap_rep(context, val) diff --git a/src/lib/krb5/free/f_ap_req.c b/src/lib/krb5/free/f_ap_req.c index 5c1eab61a..199049442 100644 --- a/src/lib/krb5/free/f_ap_req.c +++ b/src/lib/krb5/free/f_ap_req.c @@ -24,9 +24,7 @@ * krb5_free_ap_req() */ - -#include -#include +#include "k5-int.h" void INTERFACE krb5_free_ap_req(context, val) diff --git a/src/lib/krb5/free/f_arep_enc.c b/src/lib/krb5/free/f_arep_enc.c index 9d13f7366..ec1d5ef90 100644 --- a/src/lib/krb5/free/f_arep_enc.c +++ b/src/lib/krb5/free/f_arep_enc.c @@ -24,9 +24,7 @@ * krb5_free_ap_rep_enc_part() */ - -#include -#include +#include "k5-int.h" void INTERFACE krb5_free_ap_rep_enc_part(context, val) diff --git a/src/lib/krb5/free/f_auth_cnt.c b/src/lib/krb5/free/f_auth_cnt.c index 0e56422d0..be51d88a2 100644 --- a/src/lib/krb5/free/f_auth_cnt.c +++ b/src/lib/krb5/free/f_auth_cnt.c @@ -25,9 +25,7 @@ * krb5_free_authenticator() */ - -#include -#include +#include "k5-int.h" void INTERFACE krb5_free_authenticator_contents(context, val) diff --git a/src/lib/krb5/free/f_authdata.c b/src/lib/krb5/free/f_authdata.c index 508f2c38a..ccaf918a8 100644 --- a/src/lib/krb5/free/f_authdata.c +++ b/src/lib/krb5/free/f_authdata.c @@ -24,9 +24,7 @@ * krb5_free_authdata() */ - -#include -#include +#include "k5-int.h" void INTERFACE krb5_free_authdata(context, val) diff --git a/src/lib/krb5/free/f_authent.c b/src/lib/krb5/free/f_authent.c index 09f1c36d5..60ef9017f 100644 --- a/src/lib/krb5/free/f_authent.c +++ b/src/lib/krb5/free/f_authent.c @@ -25,9 +25,7 @@ * krb5_free_authenticator() */ - -#include -#include +#include "k5-int.h" void INTERFACE krb5_free_authenticator(context, val) diff --git a/src/lib/krb5/free/f_cksum.c b/src/lib/krb5/free/f_cksum.c index 494f5f790..68d296058 100644 --- a/src/lib/krb5/free/f_cksum.c +++ b/src/lib/krb5/free/f_cksum.c @@ -24,9 +24,7 @@ * krb5_free_checksum() */ - -#include -#include +#include "k5-int.h" void INTERFACE krb5_free_checksum(context, val) diff --git a/src/lib/krb5/free/f_cred.c b/src/lib/krb5/free/f_cred.c index 8a8e702c8..df6436c5b 100644 --- a/src/lib/krb5/free/f_cred.c +++ b/src/lib/krb5/free/f_cred.c @@ -24,9 +24,7 @@ * krb5_free_cred() */ - -#include -#include +#include "k5-int.h" void INTERFACE krb5_free_cred(context, val) diff --git a/src/lib/krb5/free/f_cred_cnt.c b/src/lib/krb5/free/f_cred_cnt.c index bd4a2ab59..575b07555 100644 --- a/src/lib/krb5/free/f_cred_cnt.c +++ b/src/lib/krb5/free/f_cred_cnt.c @@ -24,9 +24,7 @@ * krb5_free_cred_contents() */ - -#include -#include +#include "k5-int.h" /* * krb5_free_cred_contents zeros out the session key, and then frees diff --git a/src/lib/krb5/free/f_cred_enc.c b/src/lib/krb5/free/f_cred_enc.c index bbd175244..60e0b1ee2 100644 --- a/src/lib/krb5/free/f_cred_enc.c +++ b/src/lib/krb5/free/f_cred_enc.c @@ -24,9 +24,7 @@ * krb5_free_cred_enc_part() */ - -#include -#include +#include "k5-int.h" void INTERFACE krb5_free_cred_enc_part(context, val) diff --git a/src/lib/krb5/free/f_creds.c b/src/lib/krb5/free/f_creds.c index 7c8ec42b4..7d00afe30 100644 --- a/src/lib/krb5/free/f_creds.c +++ b/src/lib/krb5/free/f_creds.c @@ -24,9 +24,7 @@ * krb5_free_creds() */ - -#include -#include +#include "k5-int.h" void INTERFACE krb5_free_creds(context, val) diff --git a/src/lib/krb5/free/f_enc_kdc.c b/src/lib/krb5/free/f_enc_kdc.c index 87ca088f0..20fa9a86e 100644 --- a/src/lib/krb5/free/f_enc_kdc.c +++ b/src/lib/krb5/free/f_enc_kdc.c @@ -24,9 +24,7 @@ * krb5_free_enc_kdc_rep_part() */ - -#include -#include +#include "k5-int.h" void INTERFACE krb5_free_enc_kdc_rep_part(context, val) diff --git a/src/lib/krb5/free/f_enc_tkt.c b/src/lib/krb5/free/f_enc_tkt.c index e8181597e..d2cddf0d3 100644 --- a/src/lib/krb5/free/f_enc_tkt.c +++ b/src/lib/krb5/free/f_enc_tkt.c @@ -24,9 +24,7 @@ * krb5_free_enc_tkt_part() */ - -#include -#include +#include "k5-int.h" void INTERFACE krb5_free_enc_tkt_part(context, val) diff --git a/src/lib/krb5/free/f_error.c b/src/lib/krb5/free/f_error.c index 14de100fd..29a0541d6 100644 --- a/src/lib/krb5/free/f_error.c +++ b/src/lib/krb5/free/f_error.c @@ -24,9 +24,7 @@ * krb5_free_error() */ - -#include -#include +#include "k5-int.h" void INTERFACE krb5_free_error(context, val) diff --git a/src/lib/krb5/free/f_kdc_rp.c b/src/lib/krb5/free/f_kdc_rp.c index da0061e01..21fbb6c7b 100644 --- a/src/lib/krb5/free/f_kdc_rp.c +++ b/src/lib/krb5/free/f_kdc_rp.c @@ -24,9 +24,7 @@ * krb5_free_kdc_rep() */ - -#include -#include +#include "k5-int.h" void INTERFACE krb5_free_kdc_rep(context, val) diff --git a/src/lib/krb5/free/f_kdc_rq.c b/src/lib/krb5/free/f_kdc_rq.c index 6a97fadc5..d8f171609 100644 --- a/src/lib/krb5/free/f_kdc_rq.c +++ b/src/lib/krb5/free/f_kdc_rq.c @@ -24,9 +24,7 @@ * krb5_free_kdc_req() */ - -#include -#include +#include "k5-int.h" void INTERFACE krb5_free_kdc_req(context, val) diff --git a/src/lib/krb5/free/f_keyblock.c b/src/lib/krb5/free/f_keyblock.c index dec3491e8..6a513f182 100644 --- a/src/lib/krb5/free/f_keyblock.c +++ b/src/lib/krb5/free/f_keyblock.c @@ -24,9 +24,7 @@ * krb5_free_keyblock() */ - -#include -#include +#include "k5-int.h" void INTERFACE krb5_free_keyblock(context, val) diff --git a/src/lib/krb5/free/f_last_req.c b/src/lib/krb5/free/f_last_req.c index cd3e56217..3e01f9608 100644 --- a/src/lib/krb5/free/f_last_req.c +++ b/src/lib/krb5/free/f_last_req.c @@ -24,9 +24,7 @@ * krb5_free_last_req() */ - -#include -#include +#include "k5-int.h" void INTERFACE krb5_free_last_req(context, val) diff --git a/src/lib/krb5/free/f_padata.c b/src/lib/krb5/free/f_padata.c index 0d109c142..cd2af5357 100644 --- a/src/lib/krb5/free/f_padata.c +++ b/src/lib/krb5/free/f_padata.c @@ -24,9 +24,7 @@ * krb5_free_padata() */ - -#include -#include +#include "k5-int.h" void INTERFACE krb5_free_pa_data(context, val) diff --git a/src/lib/krb5/free/f_princ.c b/src/lib/krb5/free/f_princ.c index 50650a082..1bc94acf6 100644 --- a/src/lib/krb5/free/f_princ.c +++ b/src/lib/krb5/free/f_princ.c @@ -24,9 +24,7 @@ * krb5_free_principal() */ - -#include -#include +#include "k5-int.h" void INTERFACE krb5_free_principal(context, val) diff --git a/src/lib/krb5/free/f_priv.c b/src/lib/krb5/free/f_priv.c index 037463409..5a47f3ec3 100644 --- a/src/lib/krb5/free/f_priv.c +++ b/src/lib/krb5/free/f_priv.c @@ -24,9 +24,7 @@ * krb5_free_priv() */ - -#include -#include +#include "k5-int.h" void INTERFACE krb5_free_priv(context, val) diff --git a/src/lib/krb5/free/f_priv_enc.c b/src/lib/krb5/free/f_priv_enc.c index f5f0f13bb..95dcde539 100644 --- a/src/lib/krb5/free/f_priv_enc.c +++ b/src/lib/krb5/free/f_priv_enc.c @@ -24,9 +24,7 @@ * krb5_free_priv_enc_part() */ - -#include -#include +#include "k5-int.h" void INTERFACE krb5_free_priv_enc_part(context, val) diff --git a/src/lib/krb5/free/f_pwd_data.c b/src/lib/krb5/free/f_pwd_data.c index 150748d6a..54240d242 100644 --- a/src/lib/krb5/free/f_pwd_data.c +++ b/src/lib/krb5/free/f_pwd_data.c @@ -24,9 +24,7 @@ * krb5_free_pwd_data() */ - -#include -#include +#include "k5-int.h" void INTERFACE krb5_free_pwd_data(context, val) diff --git a/src/lib/krb5/free/f_pwd_seq.c b/src/lib/krb5/free/f_pwd_seq.c index a44455cea..70da746f9 100644 --- a/src/lib/krb5/free/f_pwd_seq.c +++ b/src/lib/krb5/free/f_pwd_seq.c @@ -24,9 +24,7 @@ * krb5_free_pwd_sequences() */ - -#include -#include +#include "k5-int.h" void INTERFACE krb5_free_pwd_sequences(context, val) diff --git a/src/lib/krb5/free/f_safe.c b/src/lib/krb5/free/f_safe.c index 7c52ff079..9ca750e21 100644 --- a/src/lib/krb5/free/f_safe.c +++ b/src/lib/krb5/free/f_safe.c @@ -24,9 +24,7 @@ * krb5_free_safe() */ - -#include -#include +#include "k5-int.h" void INTERFACE krb5_free_safe(context, val) diff --git a/src/lib/krb5/free/f_tckt.c b/src/lib/krb5/free/f_tckt.c index 8e6106ca5..94f26b3b1 100644 --- a/src/lib/krb5/free/f_tckt.c +++ b/src/lib/krb5/free/f_tckt.c @@ -24,9 +24,7 @@ * krb5_free_ticket() */ - -#include -#include +#include "k5-int.h" void INTERFACE krb5_free_ticket(context, val) diff --git a/src/lib/krb5/free/f_tckts.c b/src/lib/krb5/free/f_tckts.c index f92545510..89a7d7cf2 100644 --- a/src/lib/krb5/free/f_tckts.c +++ b/src/lib/krb5/free/f_tckts.c @@ -24,9 +24,7 @@ * krb5_free_tickets() */ - -#include -#include +#include "k5-int.h" void INTERFACE krb5_free_tickets(context, val) diff --git a/src/lib/krb5/free/f_tgt_cred.c b/src/lib/krb5/free/f_tgt_cred.c index f80733c8d..0dbffd2c0 100644 --- a/src/lib/krb5/free/f_tgt_cred.c +++ b/src/lib/krb5/free/f_tgt_cred.c @@ -24,10 +24,7 @@ * krb5_free_tgt_creds() */ - - -#include -#include +#include "k5-int.h" void INTERFACE krb5_free_tgt_creds(context, tgts) diff --git a/src/lib/krb5/free/f_tkt_auth.c b/src/lib/krb5/free/f_tkt_auth.c index 5615e56f0..7aaf723c9 100644 --- a/src/lib/krb5/free/f_tkt_auth.c +++ b/src/lib/krb5/free/f_tkt_auth.c @@ -24,9 +24,7 @@ * krb5_free_tkt_authent() */ - -#include -#include +#include "k5-int.h" void INTERFACE krb5_free_tkt_authent(context, val) -- 2.26.2