summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/glibc/39b1f61.patch
blob: 44cc80e97288d42a6b5d960b297154578f4ddb63 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/malloc/obstack.c b/malloc/obstack.c
index 25a90514f78..c3c7db4a96b 100644
--- a/malloc/obstack.c
+++ b/malloc/obstack.c
@@ -115,7 +115,7 @@ int obstack_exit_failure = EXIT_FAILURE;
 /* A looong time ago (before 1994, anyway; we're not sure) this global variable
    was used by non-GNU-C macros to avoid multiple evaluation.  The GNU C
    library still exports it because somebody might use it.  */
-struct obstack *_obstack_compat;
+struct obstack *_obstack_compat = 0;
 compat_symbol (libc, _obstack_compat, _obstack, GLIBC_2_0);
 #  endif
 # endif