From da45f1948ef6a2f1f8b7f27507c6169c972edcbc Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 21 May 2004 06:41:51 +0000 Subject: update from gnulib, again --- lib/obstack.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/obstack.c b/lib/obstack.c index 65e23e9d2..52946d26d 100644 --- a/lib/obstack.c +++ b/lib/obstack.c @@ -102,6 +102,13 @@ int obstack_exit_failure = EXIT_FAILURE; # define obstack_exit_failure exit_failure # endif +# ifdef _LIBC +/* 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; +# endif + /* Define a macro that either calls functions with the traditional malloc/free calling interface, or calls functions with the mmalloc/mfree interface (that adds an extra first argument), based on the state of use_extra_arg. -- cgit v1.2.3-70-g09d2