aboutsummaryrefslogtreecommitdiff
path: root/hw/pflash_cfi01.c
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/pflash_cfi01.c
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/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;