From 8b7ff12b4e7c3a6e824f6b4c5f5541eb572d9f39 Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Tue, 21 Sep 2010 15:21:12 +0300 Subject: Add "c++ protection" to (hopefully) all of our internal headers --- lib/rpmchroot.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'lib/rpmchroot.h') diff --git a/lib/rpmchroot.h b/lib/rpmchroot.h index 1c3f5b6eb..ba7dea504 100644 --- a/lib/rpmchroot.h +++ b/lib/rpmchroot.h @@ -3,6 +3,10 @@ #include +#ifdef __cplusplus +extern "C" { +#endif + /** \ingroup rpmchroot * Set or clear process-wide chroot directory. * Calling this while chrooted is an error. @@ -33,4 +37,9 @@ int rpmChrootOut(void); /* RPM_GNUC_INTERNAL */ int rpmChrootDone(void); +#ifdef __cplusplus +} +#endif + + #endif /* _RPMCHROOT_H */ -- cgit v1.2.3