aboutsummaryrefslogtreecommitdiff
path: root/hw/xen_blkif.h
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-09-23 01:19:00 +0200
committerBlue Swirl <blauwirbel@gmail.com>2009-09-25 19:51:45 +0000
commit86178a576b83e6687e8f67ed7de4255a5c30cf05 (patch)
tree2b5904df7cd31491006baf0d968f64bd927954a8 /hw/xen_blkif.h
parent2b321d697b6bab67c4d0b69303eee2944805b4f7 (diff)
static and inline should came before the type of the functions
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/xen_blkif.h')
-rw-r--r--hw/xen_blkif.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/xen_blkif.h b/hw/xen_blkif.h
index 738b8fe53b..c0f4136228 100644
--- a/hw/xen_blkif.h
+++ b/hw/xen_blkif.h
@@ -70,7 +70,7 @@ enum blkif_protocol {
BLKIF_PROTOCOL_X86_64 = 3,
};
-static void inline blkif_get_x86_32_req(blkif_request_t *dst, blkif_x86_32_request_t *src)
+static inline void blkif_get_x86_32_req(blkif_request_t *dst, blkif_x86_32_request_t *src)
{
int i, n = BLKIF_MAX_SEGMENTS_PER_REQUEST;
@@ -85,7 +85,7 @@ static void inline blkif_get_x86_32_req(blkif_request_t *dst, blkif_x86_32_reque
dst->seg[i] = src->seg[i];
}
-static void inline blkif_get_x86_64_req(blkif_request_t *dst, blkif_x86_64_request_t *src)
+static inline void blkif_get_x86_64_req(blkif_request_t *dst, blkif_x86_64_request_t *src)
{
int i, n = BLKIF_MAX_SEGMENTS_PER_REQUEST;