diff options
Diffstat (limited to 'build')
-rw-r--r-- | build/rpmbuild_internal.h | 8 | ||||
-rw-r--r-- | build/rpmbuild_misc.h | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/build/rpmbuild_internal.h b/build/rpmbuild_internal.h index c6813816e..24a68cf67 100644 --- a/build/rpmbuild_internal.h +++ b/build/rpmbuild_internal.h @@ -79,6 +79,10 @@ typedef enum rpmParseState_e { #define STRIP_TRAILINGSPACE (1 << 0) #define STRIP_COMMENTS (1 << 1) +#ifdef __cplusplus +extern "C" { +#endif + /** \ingroup rpmbuild * Create and initialize rpmSpec structure. * @return spec spec file control structure @@ -303,4 +307,8 @@ rpmRC packageBinaries(rpmSpec spec, const char *cookie, int cheating); RPM_GNUC_INTERNAL rpmRC packageSources(rpmSpec spec, char **cookie); +#ifdef __cplusplus +} +#endif + #endif /* _RPMBUILD_INTERNAL_H */ diff --git a/build/rpmbuild_misc.h b/build/rpmbuild_misc.h index 0d2dcd255..525af36f0 100644 --- a/build/rpmbuild_misc.h +++ b/build/rpmbuild_misc.h @@ -5,6 +5,10 @@ #include <rpm/rpmtypes.h> #include <rpm/rpmds.h> +#ifdef __cplusplus +extern "C" { +#endif + /** \ingroup rpmbuild * Destroy uid/gid caches. */ @@ -106,4 +110,8 @@ int addReqProv(Header h, rpmTag tagN, RPM_GNUC_INTERNAL int rpmlibNeedsFeature(Header h, const char * feature, const char * featureEVR); +#ifdef __cplusplus +} +#endif + #endif /* _RPMBUILD_MISC_H */ |