From 5cc2b430a19bccc0bd374353a3c895972103c81f Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Tue, 3 Oct 2000 16:03:08 +0000 Subject: [PATCH] * krb5.hin, k5-int.h: krb5_cc_get_name now returns const char * git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12706 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/ChangeLog | 4 ++++ src/include/k5-int.h | 2 +- src/include/krb5.hin | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/include/ChangeLog b/src/include/ChangeLog index 55759d70f..9775f8501 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -1,3 +1,7 @@ +2000-10-03 Ezra Peisach + + * krb5.hin, k5-int.h: krb5_cc_get_name now returns const char *. + Tue Sep 26 18:10:22 2000 Ezra Peisach * krb5.hin: Move prototype for krb5_gen_replay_name() diff --git a/src/include/k5-int.h b/src/include/k5-int.h index e253ef2a7..eff33e12d 100644 --- a/src/include/k5-int.h +++ b/src/include/k5-int.h @@ -1562,7 +1562,7 @@ struct _krb5_ccache { struct _krb5_cc_ops { krb5_magic magic; char FAR *prefix; - char FAR * (KRB5_CALLCONV *get_name) KRB5_NPROTOTYPE((krb5_context, krb5_ccache)); + const char FAR * (KRB5_CALLCONV *get_name) KRB5_NPROTOTYPE((krb5_context, krb5_ccache)); krb5_error_code (KRB5_CALLCONV *resolve) KRB5_NPROTOTYPE((krb5_context, krb5_ccache FAR *, const char FAR *)); krb5_error_code (KRB5_CALLCONV *gen_new) KRB5_NPROTOTYPE((krb5_context, krb5_ccache FAR *)); diff --git a/src/include/krb5.hin b/src/include/krb5.hin index 3742c41e3..630327211 100644 --- a/src/include/krb5.hin +++ b/src/include/krb5.hin @@ -1146,7 +1146,7 @@ typedef struct _krb5_cc_ops krb5_cc_ops; /* for set_flags and other functions */ #define KRB5_TC_OPENCLOSE 0x00000001 -KRB5_DLLIMP char FAR * KRB5_CALLCONV +KRB5_DLLIMP const char FAR * KRB5_CALLCONV krb5_cc_get_name (krb5_context context, krb5_ccache cache); KRB5_DLLIMP krb5_error_code KRB5_CALLCONV -- 2.26.2