diff options
author | markm <markm@FreeBSD.org> | 1995-09-07 21:39:00 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 1995-09-07 21:39:00 +0000 |
commit | 2539acf77b018acd7416a9857a14c466e55cd7e8 (patch) | |
tree | 96ff3578d62372822240f11a1567e45b880f3910 /eBones/krb/util.c | |
parent | eed9438eb23b62f78af7685dc226228e2bf5c524 (diff) | |
download | FreeBSD-src-2539acf77b018acd7416a9857a14c466e55cd7e8.zip FreeBSD-src-2539acf77b018acd7416a9857a14c466e55cd7e8.tar.gz |
Major cleanup of eBones code:
- Get all functions prototyped or at least defined before use.
- Make code compile (Mostly) clean with -Wall set
- Start to reduce the degree to which DES aka libdes is built in.
- get all functions to the same uniform standard of definition:
int
foo(a, b)
int a;
int *b;
{
:
}
- fix numerous bugs exposed by above processes.
Note - this replaces the previous work which used an unpopular function
definition style.
Diffstat (limited to 'eBones/krb/util.c')
-rw-r--r-- | eBones/krb/util.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/eBones/krb/util.c b/eBones/krb/util.c index 8dca743..68c0dbc 100644 --- a/eBones/krb/util.c +++ b/eBones/krb/util.c @@ -30,7 +30,9 @@ static char rcsid[] = * pname, pinst, prealm, netaddr, flags, cksum, timestamp, session */ -void ad_print(AUTH_DAT *x) +void +ad_print(x) +AUTH_DAT *x; { struct in_addr in; @@ -44,7 +46,7 @@ void ad_print(AUTH_DAT *x) #ifdef NOENCRYPTION placebo_cblock_print(x->session); #else - des_cblock_print_file((des_cblock *)x->session,stdout); + des_cblock_print_file((C_Block *)x->session,stdout); #endif /* skip reply for now */ } |