diff options
author | Ralf Corsépius <corsepiu@fedoraproject.org> | 2007-10-08 10:05:06 +0200 |
---|---|---|
committer | Ralf Corsépius <corsepiu@fedoraproject.org> | 2007-10-08 10:05:06 +0200 |
commit | d6ffa9891fcd1e5e2b66d3dc543165fb475716c0 (patch) | |
tree | 97d79b0f7cea659b65f8fab0cc2eb2be4d3752f0 /build | |
parent | c29845f5848cfdbab3e06dbcb27dccfc7b5a3ae0 (diff) | |
download | rpm-d6ffa9891fcd1e5e2b66d3dc543165fb475716c0.tar.gz rpm-d6ffa9891fcd1e5e2b66d3dc543165fb475716c0.tar.bz2 rpm-d6ffa9891fcd1e5e2b66d3dc543165fb475716c0.zip |
'Adjust extern C {} blocks.'
Diffstat (limited to 'build')
-rw-r--r-- | build/rpmbuild.h | 8 | ||||
-rw-r--r-- | build/rpmfc.h | 8 | ||||
-rw-r--r-- | build/rpmspec.h | 8 |
3 files changed, 12 insertions, 12 deletions
diff --git a/build/rpmbuild.h b/build/rpmbuild.h index 7f61b8cf2..fb8aaf2eb 100644 --- a/build/rpmbuild.h +++ b/build/rpmbuild.h @@ -14,6 +14,10 @@ /* but this will be needed */ #include "rpmspec.h" +#ifdef __cplusplus +extern "C" { +#endif + /** \ingroup rpmbuild * Bit(s) to control buildSpec() operation. */ @@ -73,10 +77,6 @@ typedef enum rpmParseState_e { #define STRIP_TRAILINGSPACE (1 << 0) #define STRIP_COMMENTS (1 << 1) -#ifdef __cplusplus -extern "C" { -#endif - /** \ingroup rpmbuild * Destroy uid/gid caches. */ diff --git a/build/rpmfc.h b/build/rpmfc.h index 0f4afd4a7..d9115e495 100644 --- a/build/rpmfc.h +++ b/build/rpmfc.h @@ -3,6 +3,10 @@ #include <magic.h> +#ifdef __cplusplus +extern "C" { +#endif + extern int _rpmfc_debug; /** @@ -62,10 +66,6 @@ struct rpmfcTokens_s { */ typedef struct rpmfcTokens_s * rpmfcToken; -#ifdef __cplusplus -extern "C" { -#endif - /** * Return helper output. * @param av helper argv (with possible macros) diff --git a/build/rpmspec.h b/build/rpmspec.h index 567cc0f75..b6603c0f6 100644 --- a/build/rpmspec.h +++ b/build/rpmspec.h @@ -6,6 +6,10 @@ * The rpmSpec and Package data structures used during build. */ +#ifdef __cplusplus +extern "C" { +#endif + /** \ingroup rpmbuild */ typedef struct Package_s * Package; @@ -169,10 +173,6 @@ struct Package_s { Package next; }; -#ifdef __cplusplus -extern "C" { -#endif - /** \ingroup rpmbuild * Create and initialize rpmSpec structure. * @return spec spec file control structure |