From e4146683660a9c191f4e11e6cbc40106aee69908 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Wed, 19 Jul 2000 20:26:39 +0000 Subject: [PATCH] * cc_memory.c (mcc_head): Combine static declaration and initialization git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12566 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/ccache/ChangeLog | 5 +++++ src/lib/krb5/ccache/cc_memory.c | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/lib/krb5/ccache/ChangeLog b/src/lib/krb5/ccache/ChangeLog index 3639fba6c..453f603ff 100644 --- a/src/lib/krb5/ccache/ChangeLog +++ b/src/lib/krb5/ccache/ChangeLog @@ -1,3 +1,8 @@ +2000-07-19 Ken Raeburn + + * cc_memory.c (mcc_head): Combine static declaration and + initialization. + 2000-07-14 Ken Raeburn * t_stdio.c, t_file.c, t_memory.c: Test cases copied from old diff --git a/src/lib/krb5/ccache/cc_memory.c b/src/lib/krb5/ccache/cc_memory.c index 51793df50..f01bd6bbd 100644 --- a/src/lib/krb5/ccache/cc_memory.c +++ b/src/lib/krb5/ccache/cc_memory.c @@ -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; -- 2.26.2