From f2588e8561a9c695e641fd59fdf76f7b13f4ff36 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Wed, 13 Mar 1991 09:54:43 +0000 Subject: [PATCH] need local var to be const fix copyrights. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1884 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/asn.1/adat2kadat.c | 6 +++--- src/lib/krb5/asn.1/addr2kaddr.c | 6 +++--- src/lib/krb5/asn.1/lsrq2klsrq.c | 6 +++--- src/lib/krb5/asn.1/prin2kprin.c | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/lib/krb5/asn.1/adat2kadat.c b/src/lib/krb5/asn.1/adat2kadat.c index 84fdf28de..3960112c0 100644 --- a/src/lib/krb5/asn.1/adat2kadat.c +++ b/src/lib/krb5/asn.1/adat2kadat.c @@ -2,7 +2,8 @@ * $Source$ * $Author$ * - * Copyright 1989,1990 by the Massachusetts Institute of Technology. + * Copyright 1989,1990,1991 by the Massachusetts Institute of Technology. + * All Rights Reserved. * * For copying and distribution information, please see the file * . @@ -15,7 +16,6 @@ static char rcsid_adat2kadat_c[] = "$Id$"; #endif /* lint || saber */ -#include #include /*#include */ @@ -75,7 +75,7 @@ register int *error; register krb5_authdata **retval; register int i; - register struct type_KRB5_AuthorizationData *rv; + register const struct type_KRB5_AuthorizationData *rv; for (i = 0, rv = val; rv; i++, rv = rv->next) ; diff --git a/src/lib/krb5/asn.1/addr2kaddr.c b/src/lib/krb5/asn.1/addr2kaddr.c index 32a0989e2..2b91e8eff 100644 --- a/src/lib/krb5/asn.1/addr2kaddr.c +++ b/src/lib/krb5/asn.1/addr2kaddr.c @@ -2,7 +2,8 @@ * $Source$ * $Author$ * - * Copyright 1989,1990 by the Massachusetts Institute of Technology. + * Copyright 1989,1990,1991 by the Massachusetts Institute of Technology. + * All Rights Reserved. * * For copying and distribution information, please see the file * . @@ -15,7 +16,6 @@ static char rcsid_addr2kaddr_c[] = "$Id$"; #endif /* lint || saber */ -#include #include /*#include */ @@ -76,7 +76,7 @@ register int *error; register krb5_address **retval; register int i; - register struct type_KRB5_HostAddresses *rv; + register const struct type_KRB5_HostAddresses *rv; for (i = 0, rv = val; rv; i++, rv = rv->next) ; diff --git a/src/lib/krb5/asn.1/lsrq2klsrq.c b/src/lib/krb5/asn.1/lsrq2klsrq.c index 6f41f6a06..9f5e476c8 100644 --- a/src/lib/krb5/asn.1/lsrq2klsrq.c +++ b/src/lib/krb5/asn.1/lsrq2klsrq.c @@ -2,7 +2,8 @@ * $Source$ * $Author$ * - * Copyright 1989,1990 by the Massachusetts Institute of Technology. + * Copyright 1989,1990,1991 by the Massachusetts Institute of Technology. + * All Rights Reserved. * * For copying and distribution information, please see the file * . @@ -15,7 +16,6 @@ static char rcsid_lsrq2klsrq_c[] = "$Id$"; #endif /* lint || saber */ -#include #include /*#include */ @@ -67,7 +67,7 @@ register int *error; #endif register krb5_last_req_entry **retval; register int i; - register struct type_KRB5_LastReq *rv; + register const struct type_KRB5_LastReq *rv; for (i = 0, rv = val; rv; i++, rv = rv->next) ; diff --git a/src/lib/krb5/asn.1/prin2kprin.c b/src/lib/krb5/asn.1/prin2kprin.c index 37299783e..5cb09301e 100644 --- a/src/lib/krb5/asn.1/prin2kprin.c +++ b/src/lib/krb5/asn.1/prin2kprin.c @@ -2,7 +2,8 @@ * $Source$ * $Author$ * - * Copyright 1989,1990 by the Massachusetts Institute of Technology. + * Copyright 1989,1990,1991 by the Massachusetts Institute of Technology. + * All Rights Reserved. * * For copying and distribution information, please see the file * . @@ -15,7 +16,6 @@ static char rcsid_prin2kprin_c[] = "$Id$"; #endif /* lint || saber */ -#include #include /*#include */ @@ -66,7 +66,7 @@ register int *error; register krb5_principal retval; register int i; - register struct type_KRB5_PrincipalName *rv; + register const struct type_KRB5_PrincipalName *rv; for (i = 1, rv = val; rv->next; i++, rv = rv->next) ; -- 2.26.2