diff options
author | Alan Modra <modra@gmail.com> | 2002-06-08 07:32:12 +0000 |
---|---|---|
committer | Alan Modra <modra@gmail.com> | 2002-06-08 07:32:12 +0000 |
commit | bdc9d6f5bffec4ed5eed5e37db076cbb6c7b9ceb (patch) | |
tree | 18fdd055859c842cdb0508b761249b8ecae94563 /include/opcode/a29k.h | |
parent | f61563846de3f292d53b53ba885b97dc1003fffc (diff) | |
download | cygnal-bdc9d6f5bffec4ed5eed5e37db076cbb6c7b9ceb.tar.gz cygnal-bdc9d6f5bffec4ed5eed5e37db076cbb6c7b9ceb.tar.bz2 cygnal-bdc9d6f5bffec4ed5eed5e37db076cbb6c7b9ceb.zip |
* a29k.h: Replace CONST with const.
(CONST): Don't define.
* convex.h: Replace CONST with const.
(CONST): Don't define.
* dlx.h: Replace CONST with const.
* or32.h (CONST): Don't define.
Diffstat (limited to 'include/opcode/a29k.h')
-rw-r--r-- | include/opcode/a29k.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/include/opcode/a29k.h b/include/opcode/a29k.h index 399be67ca..c6c8c3700 100644 --- a/include/opcode/a29k.h +++ b/include/opcode/a29k.h @@ -1,5 +1,5 @@ /* Table of opcodes for the AMD 29000 family. - Copyright 1990, 1991, 1993, 1994 Free Software Foundation, Inc. + Copyright 1990, 1991, 1993, 1994, 2002 Free Software Foundation, Inc. This file is part of GDB and GAS. @@ -62,11 +62,7 @@ struct a29k_opcode { char *args; }; -#ifndef CONST -#define CONST -#endif /* CONST */ - -static CONST struct a29k_opcode a29k_opcodes[] = +static const struct a29k_opcode a29k_opcodes[] = { { "add", 0x14000000, "c,a,b" }, @@ -282,4 +278,4 @@ static CONST struct a29k_opcode a29k_opcodes[] = if we've run off the end of the table. */ }; -CONST unsigned int num_opcodes = (((sizeof a29k_opcodes) / (sizeof a29k_opcodes[0])) - 1); +const unsigned int num_opcodes = (((sizeof a29k_opcodes) / (sizeof a29k_opcodes[0])) - 1); |