summaryrefslogtreecommitdiff
path: root/lib/rpmchroot.h
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-09-21 15:21:12 +0300
committerPanu Matilainen <pmatilai@redhat.com>2010-09-21 15:21:12 +0300
commit8b7ff12b4e7c3a6e824f6b4c5f5541eb572d9f39 (patch)
tree096f789689d2082a7fb9f288c06c1add58a42ffa /lib/rpmchroot.h
parent662c09717ae35a6d41b0b2d7250e1d59670146de (diff)
downloadrpm-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.h9
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 */