add const where appropriate in function declarations
authorJohn Kohl <jtkohl@mit.edu>
Wed, 18 Apr 1990 17:13:22 +0000 (17:13 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Wed, 18 Apr 1990 17:13:22 +0000 (17:13 +0000)
fix comments to indicate proper variable name

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@489 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/rd_error.c

index 6e2e46f9bca64e4a131eb4396fb39e1a00c476d9..2bcf44a7fa2ebea62392fa817cba4187a3e095c9 100644 (file)
@@ -24,7 +24,8 @@ static char rcsid_rd_error_c[] =
 #include <krb5/ext-proto.h>
 
 /*
- Parses an error message from enc_errbuf and fills in the contents of estruct.
+ Parses an error message from enc_errbuf and fills in the contents of
+ dec_error.
 
  Upon return dec_error->client,server,text, if non-NULL, point to allocated
  storage which the caller should free when finished.
@@ -34,7 +35,7 @@ static char rcsid_rd_error_c[] =
 
 krb5_error_code
 krb5_rd_error( enc_errbuf, dec_error)
-krb5_data *enc_errbuf;
+const krb5_data *enc_errbuf;
 krb5_error *dec_error;
 {
     krb5_error_code retval;