X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fident%2Fident.h;h=eab7d9d7a2e73087c0908d2ec0b8a78b0a98fb7e;hb=e70c22e8aa4cc93e7d72f58453c03cb9bd797e31;hp=9843e3532fb301b2b2843a70bc965797467049e7;hpb=6283bc10025ad08777566d67739383953a424ef2;p=libfirm diff --git a/ir/ident/ident.h b/ir/ident/ident.h index 9843e3532..eab7d9d7a 100644 --- a/ir/ident/ident.h +++ b/ir/ident/ident.h @@ -25,6 +25,10 @@ #include #endif +#ifdef __cplusplus +extern "C" { +#endif + /* Identifiers */ /** @@ -35,7 +39,7 @@ */ #ifndef _IDENT_TYPEDEF_ #define _IDENT_TYPEDEF_ -typedef const struct ident ident; +typedef const struct _ident ident; #endif /** @@ -281,4 +285,8 @@ int id_contains_wchar (ident *id, wchar_t c); #endif /* FIRM_ENABLE_WCHAR */ +#ifdef __cplusplus +} +#endif + # endif /* _IDENT_H_ */