* cc_memory.c (mcc_head): Combine static declaration and initialization
authorKen Raeburn <raeburn@mit.edu>
Wed, 19 Jul 2000 20:26:39 +0000 (20:26 +0000)
committerKen Raeburn <raeburn@mit.edu>
Wed, 19 Jul 2000 20:26:39 +0000 (20:26 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12566 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/ccache/ChangeLog
src/lib/krb5/ccache/cc_memory.c

index 3639fba6cbd9728e660d3e8efc2bf000c7389f9e..453f603fff010ee58d237069c5e6383f26a62426 100644 (file)
@@ -1,3 +1,8 @@
+2000-07-19  Ken Raeburn  <raeburn@mit.edu>
+
+       * cc_memory.c (mcc_head): Combine static declaration and
+       initialization.
+
 2000-07-14  Ken Raeburn  <raeburn@mit.edu>
 
        * t_stdio.c, t_file.c, t_memory.c: Test cases copied from old
index 51793df5061d06f4b03c3d7325747dcb5ee36326..f01bd6bbd47a15e985783d80a192578f2b3381f6 100644 (file)
@@ -97,7 +97,7 @@ typedef struct _krb5_mcc_data {
      krb5_mcc_cursor link;
 } krb5_mcc_data;
 
-static krb5_mcc_data FAR *mcc_head;
+static krb5_mcc_data FAR *mcc_head = 0;
 
 /*
  * Modifies:
@@ -596,5 +596,3 @@ krb5_cc_ops krb5_mcc_ops = {
      NULL, /* XXX krb5_mcc_remove, */
      krb5_mcc_set_flags,
 };
-
-krb5_mcc_data *mcc_head=0L;