summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohn Kohl <jtkohl@mit.edu>1991-03-13 09:54:43 +0000
committerJohn Kohl <jtkohl@mit.edu>1991-03-13 09:54:43 +0000
commitf2588e8561a9c695e641fd59fdf76f7b13f4ff36 (patch)
treedc3f2e2cc2287e6dfb392710efaf3e7547bdfe96 /src
parentfd9c3dbafd53fbe7df0daae79ffff0e6517c5902 (diff)
need local var to be const
fix copyrights. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1884 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
-rw-r--r--src/lib/krb5/asn.1/adat2kadat.c6
-rw-r--r--src/lib/krb5/asn.1/addr2kaddr.c6
-rw-r--r--src/lib/krb5/asn.1/lsrq2klsrq.c6
-rw-r--r--src/lib/krb5/asn.1/prin2kprin.c6
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
* <krb5/copyright.h>.
@@ -15,7 +16,6 @@ static char rcsid_adat2kadat_c[] =
"$Id$";
#endif /* lint || saber */
-#include <krb5/copyright.h>
#include <krb5/krb5.h>
/*#include <time.h> */
@@ -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
* <krb5/copyright.h>.
@@ -15,7 +16,6 @@ static char rcsid_addr2kaddr_c[] =
"$Id$";
#endif /* lint || saber */
-#include <krb5/copyright.h>
#include <krb5/krb5.h>
/*#include <time.h> */
@@ -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
* <krb5/copyright.h>.
@@ -15,7 +16,6 @@ static char rcsid_lsrq2klsrq_c[] =
"$Id$";
#endif /* lint || saber */
-#include <krb5/copyright.h>
#include <krb5/krb5.h>
/*#include <time.h> */
@@ -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
* <krb5/copyright.h>.
@@ -15,7 +16,6 @@ static char rcsid_prin2kprin_c[] =
"$Id$";
#endif /* lint || saber */
-#include <krb5/copyright.h>
#include <krb5/krb5.h>
/*#include <time.h> */
@@ -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)
;