summaryrefslogtreecommitdiff
path: root/lib/rpmts_internal.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/rpmts_internal.h
parent662c09717ae35a6d41b0b2d7250e1d59670146de (diff)
downloadrpm-8b7ff12b4e7c3a6e824f6b4c5f5541eb572d9f39.tar.gz
Add "c++ protection" to (hopefully) all of our internal headers
Diffstat (limited to 'lib/rpmts_internal.h')
-rw-r--r--lib/rpmts_internal.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/rpmts_internal.h b/lib/rpmts_internal.h
index 5d7fbd7db..7ed6eb6ed 100644
--- a/lib/rpmts_internal.h
+++ b/lib/rpmts_internal.h
@@ -67,6 +67,10 @@ struct rpmts_s {
int nrefs; /*!< Reference count. */
};
+#ifdef __cplusplus
+extern "C" {
+#endif
+
RPM_GNUC_INTERNAL
tsMembers rpmtsMembers(rpmts ts);
@@ -76,4 +80,8 @@ int rpmtsSolve(rpmts ts, rpmds key);
RPM_GNUC_INTERNAL
rpmlock rpmtsAcquireLock(rpmts ts);
+
+#ifdef __cplusplus
+}
+#endif
#endif /* _RPMTS_INTERNAL_H */