summaryrefslogtreecommitdiff
path: root/lib/obstack.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-10-14 23:23:50 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-10-14 23:23:50 +0000
commit0e56d268c07233446ac6171d32bf1a5a41fdbea0 (patch)
tree123dcc33e35e2dd542724dea3326c7d402a9b1ae /lib/obstack.h
parentb9e4e1bfc4ba0b133f72e20f23989352d4667085 (diff)
downloadgnulib-0e56d268c07233446ac6171d32bf1a5a41fdbea0.tar.gz
* config/srclist.txt: Add glibc bug 321 for obstack.c, obstack.h.
* lib/obstack.c [defined _LIBC && defined USE_IN_LIBIO]: Don't include <wchar.h>; no longer needed. * lib/obstack.c (print_and_abort) [defined _LIBC]: Use __fxprintf instead of inline stream orientation test and two separate function calls. Pay no attention to USE_IN_LIBIO. * lib/obstack.h [!__STDC__] (obstack_int_grow_fast): Fix misnamed macro argument. Reported by Matej Vela <vela@debian.org>.
Diffstat (limited to 'lib/obstack.h')
-rw-r--r--lib/obstack.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/lib/obstack.h b/lib/obstack.h
index 940bc8051e..95dd438ff7 100644
--- a/lib/obstack.h
+++ b/lib/obstack.h
@@ -1,11 +1,7 @@
/* obstack.h - object stack macros
- Copyright (C) 1988-1994,1996-1999,2003,2004 Free Software Foundation, Inc.
-
- This file is part of the GNU C Library. Its master source is NOT part of
- the C library, however. The master source lives in /gd/gnu/lib.
-
- NOTE: The canonical source of this file is maintained with the GNU C Library.
- Bugs can be reported to bug-glibc@gnu.org.
+ Copyright (C) 1988-1994,1996-1999,2003,2004,2005
+ Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -464,7 +460,7 @@ __extension__ \
(((const void **) ((h)->next_free += sizeof (void *)))[-1] = (aptr))
# define obstack_int_grow_fast(h,aint) \
- (((int *) ((h)->next_free += sizeof (int)))[-1] = (aptr))
+ (((int *) ((h)->next_free += sizeof (int)))[-1] = (aint))
# define obstack_blank(h,length) \
( (h)->temp.tempint = (length), \