summaryrefslogtreecommitdiff
path: root/lib/rpmscript.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/rpmscript.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/rpmscript.h')
-rw-r--r--lib/rpmscript.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/rpmscript.h b/lib/rpmscript.h
index c0a78f091..9c340dfbc 100644
--- a/lib/rpmscript.h
+++ b/lib/rpmscript.h
@@ -22,6 +22,10 @@ struct rpmScript_s {
rpmscriptFlags flags; /* flags to control operation */
};
+#ifdef __cplusplus
+extern "C" {
+#endif
+
RPM_GNUC_INTERNAL
rpmScript rpmScriptFromTag(Header h, rpmTag scriptTag);
@@ -32,4 +36,7 @@ RPM_GNUC_INTERNAL
rpmRC rpmScriptRun(rpmScript script, int arg1, int arg2, FD_t scriptFd,
ARGV_const_t prefixes, int warn_only, int selinux);
+#ifdef __cplusplus
+}
+#endif
#endif /* _RPMSCRIPT_H */