diff options
author | Alan Modra <modra@gmail.com> | 2002-12-02 21:51:52 +0000 |
---|---|---|
committer | Alan Modra <modra@gmail.com> | 2002-12-02 21:51:52 +0000 |
commit | fcdef14b0845a6fe481196e11e00b9e0911e2de7 (patch) | |
tree | fe1ff8afa024861483dfe8f0a9be1d9c905719b5 /include/opcode/cgen.h | |
parent | d0619aa71553d046a5af64e6032a4252b5fac7ad (diff) | |
download | cygnal-fcdef14b0845a6fe481196e11e00b9e0911e2de7.tar.gz cygnal-fcdef14b0845a6fe481196e11e00b9e0911e2de7.tar.bz2 cygnal-fcdef14b0845a6fe481196e11e00b9e0911e2de7.zip |
* cgen.h (struct cgen_maybe_multi_ifield): Add "const PTR p" to union.
Constify "leaf" and "multi".
Diffstat (limited to 'include/opcode/cgen.h')
-rw-r--r-- | include/opcode/cgen.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/opcode/cgen.h b/include/opcode/cgen.h index 89477985e..76a0af47b 100644 --- a/include/opcode/cgen.h +++ b/include/opcode/cgen.h @@ -1,6 +1,7 @@ /* Header file for targets using CGEN: Cpu tools GENerator. -Copyright 1996, 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc. +Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002 +Free Software Foundation, Inc. This file is part of GDB, the GNU debugger, and the GNU Binutils. @@ -620,8 +621,9 @@ typedef struct cgen_maybe_multi_ifield n: indexed by array of more cgen_maybe_multi_ifields. */ union { - struct cgen_maybe_multi_ifield * multi; - struct cgen_ifld * leaf; + const PTR p; + const struct cgen_maybe_multi_ifield * multi; + const struct cgen_ifld * leaf; } val; } CGEN_MAYBE_MULTI_IFLD; |