krb5_kt_get_type should return const char *.
authorEzra Peisach <epeisach@mit.edu>
Mon, 5 Feb 2007 15:32:13 +0000 (15:32 +0000)
committerEzra Peisach <epeisach@mit.edu>
Mon, 5 Feb 2007 15:32:13 +0000 (15:32 +0000)
commit6683ca81d531800937887170f6c0f2a19ca10535
tree12b6ce46550c880df884dfea36400c3f7a179130
parented446c3772b5f626e55fa38d302dc9c628db5a08
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
src/include/krb5/krb5.hin
src/lib/gssapi/krb5/add_cred.c
src/lib/krb5/keytab/ktfns.c
src/lib/krb5/keytab/t_keytab.c