* stdcc.c, stdcc.h (krb5_stdcc_get_name): Declare as returning
authorEzra Peisach <epeisach@mit.edu>
Tue, 3 Oct 2000 16:03:52 +0000 (16:03 +0000)
committerEzra Peisach <epeisach@mit.edu>
Tue, 3 Oct 2000 16:03:52 +0000 (16:03 +0000)
        const char *.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12709 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/ccache/ccapi/ChangeLog
src/lib/krb5/ccache/ccapi/stdcc.c
src/lib/krb5/ccache/ccapi/stdcc.h

index bef2416e9638ebd640b44c72a50f549e3a7b5fa5..0e3ce4120324c0cec8dc4942586981f09184404f 100644 (file)
@@ -1,3 +1,8 @@
+2000-10-03  Ezra Peisach  <epeisach@mit.edu>
+
+       * stdcc.c, stdcc.h (krb5_stdcc_get_name): Declare as returning
+       const char *.
+
 2000-07-20  Danilo Almeida  <dalmeida@mit.edu>
 
        * stdcc.h: Include k5-int.h to get krb5_ccache definition.
index 849a906c89c082b82ceca7ba86a94485bb032937..b39dce9fefa9fdfba7a94ea447f38d961ebc8562 100644 (file)
@@ -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;
index a0f870c3afa165864666248ac405770809c4c7fa..a453b94addbe48b518ae2374300f4999ae7ffe96 100644 (file)
@@ -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