From 38972938256688f9a48c985d58e0ab9007e8664e Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Wed, 23 Sep 2009 01:19:02 +0200 Subject: gcc wants 1st static and then const Signed-off-by: Juan Quintela Signed-off-by: Blue Swirl --- target-microblaze/translate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'target-microblaze') diff --git a/target-microblaze/translate.c b/target-microblaze/translate.c index dfeb8ae848..e91ea39ddf 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", -- cgit v1.2.3