summaryrefslogtreecommitdiffstats
path: root/src/lib/kadm
diff options
context:
space:
mode:
authorPaul Park <pjpark@mit.edu>1995-06-27 20:45:50 +0000
committerPaul Park <pjpark@mit.edu>1995-06-27 20:45:50 +0000
commit82260f71c7ed05a29755c85cc11a41f15765bad5 (patch)
treebb1c2313d518c9a994c5dbd65af01b5880d0ffc6 /src/lib/kadm
parentb9ff7a3142227a703c7be1db5663972941c8d631 (diff)
downloadkrb5-82260f71c7ed05a29755c85cc11a41f15765bad5.tar.gz
krb5-82260f71c7ed05a29755c85cc11a41f15765bad5.tar.xz
krb5-82260f71c7ed05a29755c85cc11a41f15765bad5.zip
Compiler warning cleanup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6171 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/kadm')
-rw-r--r--src/lib/kadm/ChangeLog4
-rw-r--r--src/lib/kadm/alt_prof.c10
2 files changed, 9 insertions, 5 deletions
diff --git a/src/lib/kadm/ChangeLog b/src/lib/kadm/ChangeLog
index 681f3e21f6..b0f776e35b 100644
--- a/src/lib/kadm/ChangeLog
+++ b/src/lib/kadm/ChangeLog
@@ -1,4 +1,8 @@
+Tue Jun 27 15:50:31 EDT 1995 Paul Park (pjpark@mit.edu)
+ * alt_prof.c - Change filename and hierarchy lists to be const char.
+
+
Thu Jun 22 11:56:15 EDT 1995 Paul Park (pjpark@mit.edu)
* alt_prof.c - New jacket routines for handling profiles. This includes
the ability to parse certain string values to appropriate types
diff --git a/src/lib/kadm/alt_prof.c b/src/lib/kadm/alt_prof.c
index 0b112bce7e..3123bb0f47 100644
--- a/src/lib/kadm/alt_prof.c
+++ b/src/lib/kadm/alt_prof.c
@@ -49,7 +49,7 @@ krb5_aprof_init(fname, envname, acontextp)
krb5_pointer *acontextp;
{
krb5_error_code kret;
- char *namelist[2];
+ const char *namelist[2];
profile_t profile;
extern char *getenv PROTOTYPE((char *));
@@ -86,7 +86,7 @@ krb5_aprof_init(fname, envname, acontextp)
krb5_error_code
krb5_aprof_getvals(acontext, hierarchy, retdata)
krb5_pointer acontext;
- char **hierarchy;
+ const char **hierarchy;
char ***retdata;
{
return(profile_get_values((profile_t) acontext,
@@ -121,7 +121,7 @@ krb5_aprof_getvals(acontext, hierarchy, retdata)
krb5_error_code
krb5_aprof_get_deltat(acontext, hierarchy, uselast, deltatp)
krb5_pointer acontext;
- char **hierarchy;
+ const char **hierarchy;
krb5_boolean uselast;
krb5_deltat *deltatp;
{
@@ -213,7 +213,7 @@ krb5_aprof_get_deltat(acontext, hierarchy, uselast, deltatp)
krb5_error_code
krb5_aprof_get_string(acontext, hierarchy, uselast, stringp)
krb5_pointer acontext;
- char **hierarchy;
+ const char **hierarchy;
krb5_boolean uselast;
char **stringp;
{
@@ -257,7 +257,7 @@ krb5_aprof_get_string(acontext, hierarchy, uselast, stringp)
krb5_error_code
krb5_aprof_get_int32(acontext, hierarchy, uselast, intp)
krb5_pointer acontext;
- char **hierarchy;
+ const char **hierarchy;
krb5_boolean uselast;
krb5_int32 *intp;
{