From: Ken Raeburn Date: Wed, 19 Jul 2000 20:26:39 +0000 (+0000) Subject: * cc_memory.c (mcc_head): Combine static declaration and initialization X-Git-Tag: krb5-1.3-alpha1~1973 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e4146683660a9c191f4e11e6cbc40106aee69908;p=krb5.git * 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 --- 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;