aboutsummaryrefslogtreecommitdiff
path: root/malloc/set-freeres.c
diff options
context:
space:
mode:
Diffstat (limited to 'malloc/set-freeres.c')
-rw-r--r--malloc/set-freeres.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/malloc/set-freeres.c b/malloc/set-freeres.c
index 7efd06e..e73da87 100644
--- a/malloc/set-freeres.c
+++ b/malloc/set-freeres.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1999 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -26,7 +26,7 @@ __libc_freeres (void)
{
/* This function might be called from different places. So better
protect for multiple executions since these are fatal. */
- static int already_called = 0;
+ static int already_called;
if (!already_called)
RUN_HOOK (__libc_subfreeres, ());