summaryrefslogtreecommitdiffstats
path: root/hw/pflash_cfi01.c
diff options
context:
space:
mode:
authorJuan Quintela2009-09-23 01:19:00 +0200
committerBlue Swirl2009-09-25 21:51:45 +0200
commit86178a576b83e6687e8f67ed7de4255a5c30cf05 (patch)
tree2b5904df7cd31491006baf0d968f64bd927954a8 /hw/pflash_cfi01.c
parentUse proper typedef syntax (diff)
downloadqemu-86178a576b83e6687e8f67ed7de4255a5c30cf05.tar.gz
qemu-86178a576b83e6687e8f67ed7de4255a5c30cf05.tar.xz
qemu-86178a576b83e6687e8f67ed7de4255a5c30cf05.zip
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/pflash_cfi01.c')
-rw-r--r--hw/pflash_cfi01.c2
1 files changed, 1 insertions, 1 deletions
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;