Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gdb/dist/gdb One const ought to be enough for ...



details:   https://anonhg.NetBSD.org/src/rev/580d4696207f
branches:  trunk
changeset: 791770:580d4696207f
user:      joerg <joerg%NetBSD.org@localhost>
date:      Sun Dec 01 01:05:15 2013 +0000

description:
One const ought to be enough for every variable.

diffstat:

 external/gpl3/gdb/dist/gdb/arm-tdep.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 2ad13c61c77d -r 580d4696207f external/gpl3/gdb/dist/gdb/arm-tdep.c
--- a/external/gpl3/gdb/dist/gdb/arm-tdep.c     Sun Dec 01 00:59:34 2013 +0000
+++ b/external/gpl3/gdb/dist/gdb/arm-tdep.c     Sun Dec 01 01:05:15 2013 +0000
@@ -12443,7 +12443,7 @@
 {
 
   /* (Starting from numerical 0); bits 25, 26, 27 decodes type of arm instruction.  */
-  static const sti_arm_hdl_fp_t const arm_handle_insn[8] =                    
+  static const sti_arm_hdl_fp_t arm_handle_insn[8] =                    
   {
     arm_record_data_proc_misc_ld_str,   /* 000.  */
     arm_record_data_proc_imm,           /* 001.  */
@@ -12456,7 +12456,7 @@
   };
 
   /* (Starting from numerical 0); bits 13,14,15 decodes type of thumb instruction.  */
-  static const sti_arm_hdl_fp_t const thumb_handle_insn[8] =
+  static const sti_arm_hdl_fp_t thumb_handle_insn[8] =
   { \
     thumb_record_shift_add_sub,        /* 000.  */
     thumb_record_add_sub_cmp_mov,      /* 001.  */



Home | Main Index | Thread Index | Old Index