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=de7372b23c3da92fbfaea2d1ac592f0b2ba87914;hpb=fbbfb9406a82e647ce27b6462b11a802fa48f31a 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 */