From 05017824b1027f078116457cfb4dd197dc4faccd Mon Sep 17 00:00:00 2001 From: John Kohl Date: Thu, 19 Apr 1990 11:26:52 +0000 Subject: [PATCH] need to use const char *'s to run through const char * args git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@508 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/parse.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/lib/krb5/krb/parse.c b/src/lib/krb5/krb/parse.c index 283f6e049..3c93a154b 100644 --- a/src/lib/krb5/krb/parse.c +++ b/src/lib/krb5/krb/parse.c @@ -41,8 +41,6 @@ static char rcsid_parse_c [] = #define MAXRLMSZ 256 /* XXX! */ -#define xfree(val) free((char *)val) - static char * strsave(string) const char *string; @@ -59,7 +57,7 @@ krb5_parse_name(name, principal) const register char *name; krb5_principal *principal; { - register char *realmptr, *cp, *endcomponent; + const register char *realmptr, *cp, *endcomponent; register char *realmname; krb5_principal retprinc; int ncomponents; -- 2.26.2