diff options
Diffstat (limited to 'hw')
-rw-r--r-- | hw/g364fb.c | 2 | ||||
-rw-r--r-- | hw/pflash_cfi01.c | 2 | ||||
-rw-r--r-- | hw/sh7750.c | 2 | ||||
-rw-r--r-- | hw/usb-bt.c | 2 | ||||
-rw-r--r-- | hw/xen_blkif.h | 4 |
5 files changed, 6 insertions, 6 deletions
diff --git a/hw/g364fb.c b/hw/g364fb.c index d44fcc2d28..88e304823e 100644 --- a/hw/g364fb.c +++ b/hw/g364fb.c @@ -268,7 +268,7 @@ static void g364fb_update_display(void *opaque) qemu_irq_raise(s->irq); } -static void inline g364fb_invalidate_display(void *opaque) +static inline void g364fb_invalidate_display(void *opaque) { G364State *s = opaque; int i; diff --git a/hw/pflash_cfi01.c b/hw/pflash_cfi01.c index 6ba496e541..dfdced97b0 100644 --- a/hw/pflash_cfi01.c +++ b/hw/pflash_cfi01.c @@ -195,7 +195,7 @@ static void pflash_update(pflash_t *pfl, int offset, } } -static void inline pflash_data_write(pflash_t *pfl, target_phys_addr_t offset, +static inline void pflash_data_write(pflash_t *pfl, target_phys_addr_t offset, uint32_t value, int width) { uint8_t *p = pfl->storage; diff --git a/hw/sh7750.c b/hw/sh7750.c index cf9cf16159..933bbc0c7a 100644 --- a/hw/sh7750.c +++ b/hw/sh7750.c @@ -69,7 +69,7 @@ typedef struct SH7750State { struct intc_desc intc; } SH7750State; -static int inline has_bcr3_and_bcr4(SH7750State * s) +static inline int has_bcr3_and_bcr4(SH7750State * s) { return (s->cpu->features & SH_FEATURE_BCR3_AND_BCR4); } diff --git a/hw/usb-bt.c b/hw/usb-bt.c index 4c60d424fd..70fd4dd533 100644 --- a/hw/usb-bt.c +++ b/hw/usb-bt.c @@ -363,7 +363,7 @@ static inline int usb_bt_fifo_dequeue(struct usb_hci_in_fifo_s *fifo, return len; } -static void inline usb_bt_fifo_out_enqueue(struct USBBtState *s, +static inline void usb_bt_fifo_out_enqueue(struct USBBtState *s, struct usb_hci_out_fifo_s *fifo, void (*send)(struct HCIInfo *, const uint8_t *, int), int (*complete)(const uint8_t *, int), 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; |