summaryrefslogtreecommitdiff
path: root/build/buildio.h
diff options
context:
space:
mode:
authorRalf Corsépius <corsepiu@fedoraproject.org>2007-10-29 11:43:51 +0100
committerRalf Corsépius <corsepiu@fedoraproject.org>2007-10-29 11:43:51 +0100
commit3d74c511ff497ce11ec22d0b1a5296eac5733f58 (patch)
treef3978e26f6ba10aa90d8ab6916fea941f0939896 /build/buildio.h
parentb8b986dd20a4ebbd8f2d297f3b02b424734abf71 (diff)
downloadrpm-3d74c511ff497ce11ec22d0b1a5296eac5733f58.tar.gz
rpm-3d74c511ff497ce11ec22d0b1a5296eac5733f58.tar.bz2
rpm-3d74c511ff497ce11ec22d0b1a5296eac5733f58.zip
Move typedef into extern "C".
Diffstat (limited to 'build/buildio.h')
-rw-r--r--build/buildio.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/build/buildio.h b/build/buildio.h
index 2a3dfd63c..250ced6ee 100644
--- a/build/buildio.h
+++ b/build/buildio.h
@@ -10,6 +10,10 @@
#include "rpmbuild.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
*/
typedef struct cpioSourceArchive_s {
@@ -19,10 +23,6 @@ typedef struct cpioSourceArchive_s {
struct rpmlead * lead; /* XXX FIXME: exorcize lead/arch/os */
} * CSA_t;
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/**
* Read rpm package components from file.
* @param fileName file name of package (or NULL to use stdin)