From: Ezra Peisach Date: Tue, 3 Oct 2000 16:03:52 +0000 (+0000) Subject: * stdcc.c, stdcc.h (krb5_stdcc_get_name): Declare as returning X-Git-Tag: krb5-1.3-alpha1~1870 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bc8aedb161788a6eb95c5518d1149bc5b50959d9;p=krb5.git * stdcc.c, stdcc.h (krb5_stdcc_get_name): Declare as returning const char *. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12709 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/ccache/ccapi/ChangeLog b/src/lib/krb5/ccache/ccapi/ChangeLog index bef2416e9..0e3ce4120 100644 --- a/src/lib/krb5/ccache/ccapi/ChangeLog +++ b/src/lib/krb5/ccache/ccapi/ChangeLog @@ -1,3 +1,8 @@ +2000-10-03 Ezra Peisach + + * stdcc.c, stdcc.h (krb5_stdcc_get_name): Declare as returning + const char *. + 2000-07-20 Danilo Almeida * stdcc.h: Include k5-int.h to get krb5_ccache definition. diff --git a/src/lib/krb5/ccache/ccapi/stdcc.c b/src/lib/krb5/ccache/ccapi/stdcc.c index 849a906c8..b39dce9fe 100644 --- a/src/lib/krb5/ccache/ccapi/stdcc.c +++ b/src/lib/krb5/ccache/ccapi/stdcc.c @@ -653,7 +653,7 @@ krb5_stdcc_destroy (krb5_context context, krb5_ccache id) * * - return the name of the named cache */ -char * KRB5_CALLCONV krb5_stdcc_get_name +const char * KRB5_CALLCONV krb5_stdcc_get_name (krb5_context context, krb5_ccache id ) { char *name = NULL; diff --git a/src/lib/krb5/ccache/ccapi/stdcc.h b/src/lib/krb5/ccache/ccapi/stdcc.h index a0f870c3a..a453b94ad 100644 --- a/src/lib/krb5/ccache/ccapi/stdcc.h +++ b/src/lib/krb5/ccache/ccapi/stdcc.h @@ -37,7 +37,7 @@ KRB5_DLLIMP krb5_error_code KRB5_CALLCONV krb5_stdcc_end_seq_get KRB5_DLLIMP krb5_error_code KRB5_CALLCONV krb5_stdcc_generate_new KRB5_PROTOTYPE((krb5_context, krb5_ccache *id )); -KRB5_DLLIMP char * KRB5_CALLCONV krb5_stdcc_get_name +KRB5_DLLIMP const char * KRB5_CALLCONV krb5_stdcc_get_name KRB5_PROTOTYPE((krb5_context, krb5_ccache id )); KRB5_DLLIMP krb5_error_code KRB5_CALLCONV krb5_stdcc_get_principal