X-Git-Url: https://git.cworth.org/git?p=tar;a=blobdiff_plain;f=gnu%2Fobstack.h;fp=gnu%2Fobstack.h;h=f225a523b3ce5f4adac77db5b4fcef66033fb1ab;hp=113aad817e432f049805074f9298518a33984bf2;hb=ee168310ec4227174ace489bf5f81f8c2f91cde0;hpb=22f1eb8bc17e5be72dd23d42d6aaa60196ac22e6 diff --git a/gnu/obstack.h b/gnu/obstack.h index 113aad8..f225a52 100644 --- a/gnu/obstack.h +++ b/gnu/obstack.h @@ -105,10 +105,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 @@ -141,6 +137,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 */