summaryrefslogtreecommitdiffstats
path: root/src/include/krb5
diff options
context:
space:
mode:
authorEzra Peisach <epeisach@mit.edu>2007-02-05 15:32:13 +0000
committerEzra Peisach <epeisach@mit.edu>2007-02-05 15:32:13 +0000
commit6683ca81d531800937887170f6c0f2a19ca10535 (patch)
tree12b6ce46550c880df884dfea36400c3f7a179130 /src/include/krb5
parented446c3772b5f626e55fa38d302dc9c628db5a08 (diff)
downloadkrb5-6683ca81d531800937887170f6c0f2a19ca10535.tar.gz
krb5-6683ca81d531800937887170f6c0f2a19ca10535.tar.xz
krb5-6683ca81d531800937887170f6c0f2a19ca10535.zip
krb5_kt_get_type should return const char *.
The code returns a pointer to static structures. Just to enforce the assumption that users can not change the returned data. Change prototype of krb5_kt_get_type to return const char *. The other changes are to clean up warnings - no change in code - usage assumed const. ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19143 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include/krb5')
-rw-r--r--src/include/krb5/krb5.hin2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/krb5/krb5.hin b/src/include/krb5/krb5.hin
index ff0a31be7..a404b2531 100644
--- a/src/include/krb5/krb5.hin
+++ b/src/include/krb5/krb5.hin
@@ -1323,7 +1323,7 @@ typedef struct krb5_keytab_entry_st {
struct _krb5_kt;
typedef struct _krb5_kt *krb5_keytab;
-char * KRB5_CALLCONV
+const char * KRB5_CALLCONV
krb5_kt_get_type (krb5_context, krb5_keytab keytab);
krb5_error_code KRB5_CALLCONV
krb5_kt_get_name(krb5_context context, krb5_keytab keytab, char *name,