diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-09-21 15:21:12 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-09-21 15:21:12 +0300 |
commit | 8b7ff12b4e7c3a6e824f6b4c5f5541eb572d9f39 (patch) | |
tree | 096f789689d2082a7fb9f288c06c1add58a42ffa /lib/rpmchroot.h | |
parent | 662c09717ae35a6d41b0b2d7250e1d59670146de (diff) | |
download | rpm-8b7ff12b4e7c3a6e824f6b4c5f5541eb572d9f39.tar.gz rpm-8b7ff12b4e7c3a6e824f6b4c5f5541eb572d9f39.tar.bz2 rpm-8b7ff12b4e7c3a6e824f6b4c5f5541eb572d9f39.zip |
Add "c++ protection" to (hopefully) all of our internal headers
Diffstat (limited to 'lib/rpmchroot.h')
-rw-r--r-- | lib/rpmchroot.h | 9 |
1 files changed, 9 insertions, 0 deletions
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 <rpm/rpmutil.h> +#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 */ |