X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fobstack.h;h=8a8d44bc8ec18e6833f8b1dc0c75432421f4c3fe;hb=5e5009f839875220d5dec7abdf5cf53d919f4d42;hp=27b732d5da82147998504539905ba8af0e2eb01f;hpb=b2e2010c7c902235b5efb5bd3c6529f61b093aa4;p=gnulib.git diff --git a/lib/obstack.h b/lib/obstack.h index 27b732d5d..8a8d44bc8 100644 --- a/lib/obstack.h +++ b/lib/obstack.h @@ -1,5 +1,5 @@ /* obstack.h - object stack macros - Copyright (C) 1988-1994, 1996-1999, 2003-2006, 2009-2010 Free Software + Copyright (C) 1988-1994, 1996-1999, 2003-2006, 2009-2011 Free Software Foundation, Inc. This file is part of the GNU C Library. @@ -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 */