From 89519c00088b67536eab48f8a17d0eb0c0309b86 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 21 Mar 2010 01:14:37 +0100 Subject: Ensure no #include statements inside extern "C" { ... }. --- lib/obstack.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/obstack.h') 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 +#ifdef __cplusplus +extern "C" { +#endif + struct _obstack_chunk /* Lives at front of each chunk. */ { char *limit; /* 1 past end of this chunk */ -- cgit v1.2.1