summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorJohn Kohl <jtkohl@mit.edu>1990-04-18 17:13:22 +0000
committerJohn Kohl <jtkohl@mit.edu>1990-04-18 17:13:22 +0000
commit9c6d87af175ee23621d9540ec88052f1f9c404c5 (patch)
treeffccc09d8ffd472691c863d2836c669e9dbbbcab /src/lib
parent5348e29fa3ed18940cf663cab0cd41f984cb3607 (diff)
add const where appropriate in function declarations
fix comments to indicate proper variable name git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@489 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/krb5/krb/rd_error.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/krb5/krb/rd_error.c b/src/lib/krb5/krb/rd_error.c
index 6e2e46f9b..2bcf44a7f 100644
--- a/src/lib/krb5/krb/rd_error.c
+++ b/src/lib/krb5/krb/rd_error.c
@@ -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;