From 0a7a3b459cbf908404e3d3d80f15dad6b1c62e79 Mon Sep 17 00:00:00 2001 From: "H. Peter Anvin" Date: Tue, 14 May 2002 23:54:46 +0000 Subject: Change "const static" -> "static const" to keep gcc happy --- insns.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'insns.pl') diff --git a/insns.pl b/insns.pl index 243f0e8..0d95f28 100644 --- a/insns.pl +++ b/insns.pl @@ -164,7 +164,7 @@ if ( !defined($output) || $output eq 'n' ) { " - don't edit it */\n\n"; print N "/* This file in included by names.c */\n\n"; - print N "const static char *insn_names[] = {"; + print N "static const char *insn_names[] = {"; $first = 1; foreach $i (@opcodes) { print N "," if ( !$first ); @@ -175,7 +175,7 @@ if ( !defined($output) || $output eq 'n' ) { } print N "\n};\n\n"; print N "/* Conditional instructions */\n"; - print N "const static char *icn[] = {"; + print N "static const char *icn[] = {"; $first = 1; foreach $i (@opcodes_cc) { print N "," if ( !$first ); -- cgit v1.2.3