summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/krb5/ccache/ChangeLog3
-rw-r--r--src/lib/krb5/ccache/cc_file.c4
-rw-r--r--src/lib/krb5/ccache/ccapi/ChangeLog4
-rw-r--r--src/lib/krb5/ccache/ccapi/winccld.c2
-rw-r--r--src/lib/krb5/ccache/t_cc.c4
5 files changed, 11 insertions, 6 deletions
diff --git a/src/lib/krb5/ccache/ChangeLog b/src/lib/krb5/ccache/ChangeLog
index 038a1ce517..3cb606700e 100644
--- a/src/lib/krb5/ccache/ChangeLog
+++ b/src/lib/krb5/ccache/ChangeLog
@@ -1,10 +1,11 @@
2003-01-07 Ken Raeburn <raeburn@mit.edu>
- * cc_file.c (krb5_cc_file_ops): Now const.
+ * cc_file.c (krb5_cc_file_ops, krb5_fcc_ops): Now const.
* fcc.h (krb5_cc_file_ops): Update decl.
* cc_memory.c (krb5_mcc_ops): Now const.
* ccbase.c (krb5_mcc_ops): Update decl.
* ccdefops.c (krb5_cc_dfl_ops): Now points to const.
+ * t_cc.c (krb5_fcc_ops, krb5_mcc_ops): Update decls.
2002-09-03 Ken Raeburn <raeburn@mit.edu>
diff --git a/src/lib/krb5/ccache/cc_file.c b/src/lib/krb5/ccache/cc_file.c
index 62ca411f26..eb051c150a 100644
--- a/src/lib/krb5/ccache/cc_file.c
+++ b/src/lib/krb5/ccache/cc_file.c
@@ -1766,7 +1766,7 @@ krb5_fcc_destroy(krb5_context context, krb5_ccache id)
#endif
}
-extern krb5_cc_ops krb5_fcc_ops;
+extern const krb5_cc_ops krb5_fcc_ops;
/*
* Requires:
@@ -2398,7 +2398,7 @@ krb5_fcc_interpret(krb5_context context, int errnum)
return retval;
}
-krb5_cc_ops krb5_fcc_ops = {
+const krb5_cc_ops krb5_fcc_ops = {
0,
"FILE",
krb5_fcc_get_name,
diff --git a/src/lib/krb5/ccache/ccapi/ChangeLog b/src/lib/krb5/ccache/ccapi/ChangeLog
index 475a605066..37b9d0368c 100644
--- a/src/lib/krb5/ccache/ccapi/ChangeLog
+++ b/src/lib/krb5/ccache/ccapi/ChangeLog
@@ -1,3 +1,7 @@
+2003-01-07 Ken Raeburn <raeburn@mit.edu>
+
+ * winccld.c (krb5_fcc_ops): Updated decl.
+
2002-08-29 Ken Raeburn <raeburn@mit.edu>
* Makefile.in: Revert $(S)=>/ change, for Windows support.
diff --git a/src/lib/krb5/ccache/ccapi/winccld.c b/src/lib/krb5/ccache/ccapi/winccld.c
index 1ff75db488..71c2c9412c 100644
--- a/src/lib/krb5/ccache/ccapi/winccld.c
+++ b/src/lib/krb5/ccache/ccapi/winccld.c
@@ -10,7 +10,7 @@
#include "k5-int.h"
/* from fcc-proto.h */
-extern krb5_cc_ops krb5_fcc_ops;
+extern const krb5_cc_ops krb5_fcc_ops;
#define KRB5_WINCCLD_C_
#include "winccld.h"
diff --git a/src/lib/krb5/ccache/t_cc.c b/src/lib/krb5/ccache/t_cc.c
index 824ae37b50..30d5e7d4b8 100644
--- a/src/lib/krb5/ccache/t_cc.c
+++ b/src/lib/krb5/ccache/t_cc.c
@@ -233,8 +233,8 @@ static void test_misc(krb5_context context)
krb5_cc_dfl_ops = ops_save;
}
-extern krb5_cc_ops krb5_mcc_ops;
-extern krb5_cc_ops krb5_fcc_ops;
+extern const krb5_cc_ops krb5_mcc_ops;
+extern const krb5_cc_ops krb5_fcc_ops;
int main (void)
{