diff options
author | Pedro Alves <palves@redhat.com> | 2014-10-22 05:58:23 +0100 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2015-02-27 17:39:19 +0000 |
commit | 0fa9c223ddc05a4b823bc7982dce8ba3b45d903f (patch) | |
tree | 06651fa00cd80b79d587a70c8267022f0cbffc70 /gdb/sparc-sol2-tdep.c | |
parent | 7cf99fb1c72769c17eed0a62951698bf56432108 (diff) | |
download | gdb-0fa9c223ddc05a4b823bc7982dce8ba3b45d903f.zip gdb-0fa9c223ddc05a4b823bc7982dce8ba3b45d903f.tar.gz gdb-0fa9c223ddc05a4b823bc7982dce8ba3b45d903f.tar.bz2 |
Remove duplicate const
Building --enable-targets=all in C++ mode fails with:
gdb/sparc-sol2-tdep.c:179:7: error: duplicate ‘const’
gdb/arm-tdep.c:13878:33: error: duplicate ‘const’
gdb/arm-tdep.c:13891:33: error: duplicate ‘const’
gdb/ChangeLog:
2015-02-27 Pedro Alves <palves@redhat.com>
* arm-tdep.c (decode_insn) <arm_handle_insn, thumb_handle_insn>:
Remove duplicate const.
* sparc-sol2-tdep.c (sparc_sol2_static_transform_name): Remove
duplicate const.
Diffstat (limited to 'gdb/sparc-sol2-tdep.c')
-rw-r--r-- | gdb/sparc-sol2-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/sparc-sol2-tdep.c b/gdb/sparc-sol2-tdep.c index db297bd..1aabe76 100644 --- a/gdb/sparc-sol2-tdep.c +++ b/gdb/sparc-sol2-tdep.c @@ -223,7 +223,7 @@ static const struct frame_unwind sparc32_sol2_sigtramp_frame_unwind = /* Unglobalize NAME. */ -const const char * +const char * sparc_sol2_static_transform_name (const char *name) { /* The Sun compilers (Sun ONE Studio, Forte Developer, Sun WorkShop, |