From 7a6ef7ceeccb4994f57a87333806d31934a926d9 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Tue, 8 Jul 2008 18:13:42 +0300 Subject: [PATCH] Missing cplusplus-wrappers in rpmtd --- lib/rpmtd.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/rpmtd.h b/lib/rpmtd.h index afd6a17..0ca711f 100644 --- a/lib/rpmtd.h +++ b/lib/rpmtd.h @@ -4,6 +4,10 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif + typedef enum rpmtdFlags_e { RPMTD_NONE = 0, RPMTD_ALLOCED = (1 << 0), /* was memory allocated? */ @@ -318,4 +322,8 @@ int rpmtdFromArgi(rpmtd td, rpmTag tag, ARGI_t argi); */ rpmtd rpmtdDup(rpmtd td); +#ifdef __cplusplus +} +#endif + #endif /* _RPMTD_H */ -- 2.7.4