summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEzra Peisach <epeisach@mit.edu>2004-03-08 07:58:17 +0000
committerEzra Peisach <epeisach@mit.edu>2004-03-08 07:58:17 +0000
commitad13966fefd35165b8e03ff946fb599e7b231bc5 (patch)
tree9aa9bb27cad70d546f9086543d00bda785e70e1c
parentd821031e7806b02b1be8757956f1c1ae74639c37 (diff)
downloadkrb5-ad13966fefd35165b8e03ff946fb599e7b231bc5.tar.gz
krb5-ad13966fefd35165b8e03ff946fb599e7b231bc5.tar.xz
krb5-ad13966fefd35165b8e03ff946fb599e7b231bc5.zip
* prof_get.c (profile_parse_boolean): Declare first argument as
const char *. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16160 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r--src/util/profile/ChangeLog5
-rw-r--r--src/util/profile/prof_get.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/util/profile/ChangeLog b/src/util/profile/ChangeLog
index 07df01cb37..e71809f9ae 100644
--- a/src/util/profile/ChangeLog
+++ b/src/util/profile/ChangeLog
@@ -1,3 +1,8 @@
+2004-03-08 Ezra Peisach <epeisach@mit.edu>
+
+ * prof_get.c (profile_parse_boolean): Declare first argument as
+ const char *.
+
2004-02-19 Ken Raeburn <raeburn@mit.edu>
* prof_init.c (prof_int32): If long is 4 bytes and int is not,
diff --git a/src/util/profile/prof_get.c b/src/util/profile/prof_get.c
index 0251e84e80..08fac7f06f 100644
--- a/src/util/profile/prof_get.c
+++ b/src/util/profile/prof_get.c
@@ -283,7 +283,7 @@ static const char *const conf_no[] = {
};
static errcode_t
-profile_parse_boolean(char *s, int *ret_boolean)
+profile_parse_boolean(const char *s, int *ret_boolean)
{
const char *const *p;