summaryrefslogtreecommitdiff
path: root/rpmio/rpmsw.h
diff options
context:
space:
mode:
authorRalf Corsépius <corsepiu@fedoraproject.org>2007-10-08 10:05:06 +0200
committerRalf Corsépius <corsepiu@fedoraproject.org>2007-10-08 10:05:06 +0200
commitd6ffa9891fcd1e5e2b66d3dc543165fb475716c0 (patch)
tree97d79b0f7cea659b65f8fab0cc2eb2be4d3752f0 /rpmio/rpmsw.h
parentc29845f5848cfdbab3e06dbcb27dccfc7b5a3ae0 (diff)
downloadlibrpm-tizen-d6ffa9891fcd1e5e2b66d3dc543165fb475716c0.tar.gz
librpm-tizen-d6ffa9891fcd1e5e2b66d3dc543165fb475716c0.tar.bz2
librpm-tizen-d6ffa9891fcd1e5e2b66d3dc543165fb475716c0.zip
'Adjust extern C {} blocks.'
Diffstat (limited to 'rpmio/rpmsw.h')
-rw-r--r--rpmio/rpmsw.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/rpmio/rpmsw.h b/rpmio/rpmsw.h
index 0ece22389..d9f62d1da 100644
--- a/rpmio/rpmsw.h
+++ b/rpmio/rpmsw.h
@@ -5,6 +5,10 @@
* \file rpmio/rpmsw.h
*/
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/** \ingroup rpmio
*/
typedef unsigned long int rpmtime_t;
@@ -37,10 +41,6 @@ struct rpmop_s {
rpmtime_t usecs; /*!< Number of ticks. */
};
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/** Return benchmark time stamp.
* @param *sw time stamp
* @return 0 on success