diff options
author | Juan Quintela <quintela@redhat.com> | 2009-09-23 01:19:02 +0200 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-09-25 19:52:06 +0000 |
commit | 38972938256688f9a48c985d58e0ab9007e8664e (patch) | |
tree | 291a33fe391fc48a232490b3080690aeebe82a3d /target-microblaze | |
parent | Bring two last users of K&R definitions to ANSI c89 (diff) | |
download | qemu-kvm-38972938256688f9a48c985d58e0ab9007e8664e.tar.gz qemu-kvm-38972938256688f9a48c985d58e0ab9007e8664e.tar.bz2 qemu-kvm-38972938256688f9a48c985d58e0ab9007e8664e.zip |
gcc wants 1st static and then const
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-microblaze')
-rw-r--r-- | target-microblaze/translate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target-microblaze/translate.c b/target-microblaze/translate.c index dfeb8ae84..e91ea39dd 100644 --- a/target-microblaze/translate.c +++ b/target-microblaze/translate.c @@ -91,7 +91,7 @@ typedef struct DisasContext { int singlestep_enabled; } DisasContext; -const static char *regnames[] = +static const char *regnames[] = { "r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7", "r8", "r9", "r10", "r11", "r12", "r13", "r14", "r15", @@ -99,7 +99,7 @@ const static char *regnames[] = "r24", "r25", "r26", "r27", "r28", "r29", "r30", "r31", }; -const static char *special_regnames[] = +static const char *special_regnames[] = { "rpc", "rmsr", "sr2", "sr3", "sr4", "sr5", "sr6", "sr7", "sr8", "sr9", "sr10", "sr11", "sr12", "sr13", "sr14", "sr15", |