summaryrefslogtreecommitdiff
path: root/lib/obstack.h
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2010-03-21 01:14:37 +0100
committerBruno Haible <bruno@clisp.org>2010-03-21 01:14:37 +0100
commit89519c00088b67536eab48f8a17d0eb0c0309b86 (patch)
tree29232bff05dd66b09f0ae951a9e68fa28816a014 /lib/obstack.h
parentc08fc917860633e239da067ff42c397cc4729933 (diff)
downloadgnulib-89519c00088b67536eab48f8a17d0eb0c0309b86.tar.gz
Ensure no #include statements inside extern "C" { ... }.
Diffstat (limited to 'lib/obstack.h')
-rw-r--r--lib/obstack.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/obstack.h b/lib/obstack.h
index 27b732d5da..2e4ad3c0af 100644
--- a/lib/obstack.h
+++ b/lib/obstack.h
@@ -103,10 +103,6 @@ Summary:
#ifndef _OBSTACK_H
#define _OBSTACK_H 1
-
-#ifdef __cplusplus
-extern "C" {
-#endif
/* We need the type of a pointer subtraction. If __PTRDIFF_TYPE__ is
defined, as with GNU C, use that; that way we don't pollute the
@@ -139,6 +135,10 @@ extern "C" {
#include <string.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct _obstack_chunk /* Lives at front of each chunk. */
{
char *limit; /* 1 past end of this chunk */