summaryrefslogtreecommitdiff
path: root/lib/rpmfs.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/rpmfs.h
parent662c09717ae35a6d41b0b2d7250e1d59670146de (diff)
downloadrpm-8b7ff12b4e7c3a6e824f6b4c5f5541eb572d9f39.tar.gz
Add "c++ protection" to (hopefully) all of our internal headers
Diffstat (limited to 'lib/rpmfs.h')
-rw-r--r--lib/rpmfs.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/rpmfs.h b/lib/rpmfs.h
index d2c66ad4f..129bc657b 100644
--- a/lib/rpmfs.h
+++ b/lib/rpmfs.h
@@ -18,6 +18,10 @@ struct sharedFileInfo_s {
int otherFileNum;
};
+#ifdef __cplusplus
+extern "C" {
+#endif
+
RPM_GNUC_INTERNAL
rpmfs rpmfsNew(Header h, rpmElementType type);
@@ -52,4 +56,8 @@ rpmFileAction rpmfsGetAction(rpmfs fs, unsigned int ix);
/* XXX this should be internal too but build code needs for now */
void rpmfsSetAction(rpmfs fs, unsigned int ix, rpmFileAction action);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* _RPMFS_H */