mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-18 05:54:26 +08:00
* vax-opcode.h, expread.y, expprint.c, cplus-dem.c: Declare some
things "const".
This commit is contained in:
parent
2d3b429559
commit
81919cc85b
@ -50,7 +50,7 @@ struct op_print
|
||||
int right_assoc;
|
||||
};
|
||||
|
||||
static struct op_print op_print_tab[] =
|
||||
const static struct op_print op_print_tab[] =
|
||||
{
|
||||
{",", BINOP_COMMA, PREC_COMMA, 0},
|
||||
{"=", BINOP_ASSIGN, PREC_ASSIGN, 1},
|
||||
@ -275,6 +275,7 @@ print_subexp (exp, pos, stream, prec)
|
||||
op_str = op_print_tab[tem].string;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
|
||||
case OP_THIS:
|
||||
++(*pos);
|
||||
|
@ -39,7 +39,7 @@ struct vot /* vax opcode text */
|
||||
#define vot_detail detail
|
||||
#define vot_name name
|
||||
|
||||
static struct vot
|
||||
const static struct vot
|
||||
votstrs[] =
|
||||
{
|
||||
{ "halt", {"", 0x00 } },
|
||||
|
Loading…
Reference in New Issue
Block a user