summaryrefslogtreecommitdiffhomepage
path: root/ir/obstack
diff options
context:
space:
mode:
authorSebastian Buchwald <Sebastian.Buchwald@kit.edu>2008-10-13 18:29:15 +0200
committerSebastian Buchwald <Sebastian.Buchwald@kit.edu>2008-10-13 18:29:15 +0200
commitbe2960bc9ccda691eba3a031ec3a37d480c07f01 (patch)
tree12aca5e49751a06ed7ffb71fdd1736fca90b6128 /ir/obstack
parentf39d73365a6d451f4bd2cdc68a437eb2e95037bb (diff)
Always include config.h.
[r22843]
Diffstat (limited to 'ir/obstack')
-rw-r--r--ir/obstack/obstack.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/ir/obstack/obstack.c b/ir/obstack/obstack.c
index 3df7b98..6d11674 100644
--- a/ir/obstack/obstack.c
+++ b/ir/obstack/obstack.c
@@ -17,9 +17,7 @@
License along with the GNU C Library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA. */
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include <config.h>
#include "obstack.h"
@@ -94,7 +92,7 @@ int obstack_exit_failure = EXIT_FAILURE;
(*(void (*) (void *)) (h)->freefun) ((old_chunk)); \
} while (0)
-
+
/* Initialize an obstack H for use. Specify chunk size SIZE (0 means default).
Objects start on multiples of ALIGNMENT (0 means use default).
CHUNKFUN is the function to use to allocate chunks,
@@ -295,7 +293,7 @@ _obstack_allocated_p (struct obstack *h, void *obj)
}
return lp != 0;
}
-
+
/* Free objects in obstack H, including OBJ and everything allocate
more recently than OBJ. If OBJ is zero, free everything in H. */