New function. Only warn once about bad CRC's.

Mon Mar  5 16:55:39 2007  Søren Sandmann  <sandmann@redhat.com>

        * binfile.c (already_warned): New function. Only warn once about
        bad CRC's.


svn path=/trunk/; revision=361
This commit is contained in:
Søren Sandmann
2007-03-05 21:53:57 +00:00
committed by Søren Sandmann Pedersen
parent 7800fcd870
commit 7b821752f9
6 changed files with 59 additions and 19 deletions

View File

@ -75,21 +75,6 @@ create_format (void)
return format;
}
static int
compute_total (StackNode *node)
{
StackNode *n;
int total = 0;
for (n = node; n != NULL; n = n->next)
{
if (n->toplevel)
total += n->total;
}
return total;
}
static void
serialize_call_tree (StackNode *node,
SFileOutput *output)
@ -599,6 +584,21 @@ profile_caller_free (ProfileCaller *caller)
g_free (caller);
}
static int
compute_total (StackNode *node)
{
StackNode *n;
int total = 0;
for (n = node; n != NULL; n = n->next)
{
if (n->toplevel)
total += n->total;
}
return total;
}
static void
build_object_list (StackNode *node, gpointer data)
{