summaryrefslogtreecommitdiff
path: root/lib/rpmfi_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/rpmfi_internal.h
parent662c09717ae35a6d41b0b2d7250e1d59670146de (diff)
downloadlibrpm-tizen-8b7ff12b4e7c3a6e824f6b4c5f5541eb572d9f39.tar.gz
librpm-tizen-8b7ff12b4e7c3a6e824f6b4c5f5541eb572d9f39.tar.bz2
librpm-tizen-8b7ff12b4e7c3a6e824f6b4c5f5541eb572d9f39.zip
Add "c++ protection" to (hopefully) all of our internal headers
Diffstat (limited to 'lib/rpmfi_internal.h')
-rw-r--r--lib/rpmfi_internal.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/rpmfi_internal.h b/lib/rpmfi_internal.h
index 54e3dba24..c89dea1c1 100644
--- a/lib/rpmfi_internal.h
+++ b/lib/rpmfi_internal.h
@@ -79,6 +79,10 @@ struct rpmfi_s {
int nrefs; /*!< Reference count. */
};
+#ifdef __cplusplus
+extern "C" {
+#endif
+
RPM_GNUC_INTERNAL
int rpmfiDIIndex(rpmfi fi, int dx);
@@ -159,5 +163,10 @@ void rpmfiFpLookup(rpmfi fi, fingerPrintCache fpc);
/* XXX can't be internal as build code needs this */
FSM_t rpmfiFSM(rpmfi fi);
+
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _RPMFI_INTERNAL_H */