summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-05-21 06:41:51 +0000
committerJim Meyering <jim@meyering.net>2004-05-21 06:41:51 +0000
commitda45f1948ef6a2f1f8b7f27507c6169c972edcbc (patch)
treeae1542c7e560bd74b675fe5857a1270fa252fa3a
parentf40938936d7defddc160531176e575a5bdb11f86 (diff)
downloadcoreutils-da45f1948ef6a2f1f8b7f27507c6169c972edcbc.tar.xz
update from gnulib, again
-rw-r--r--lib/obstack.c7
1 files changed, 7 insertions, 0 deletions
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.