diff options
author | Kamil Rytarowski <n54@gmx.com> | 2020-10-02 01:00:22 +0200 |
---|---|---|
committer | Kamil Rytarowski <n54@gmx.com> | 2020-10-02 01:04:39 +0200 |
commit | 064280be25f2ff27477ce649f01a70d42ddad2ae (patch) | |
tree | 359e7e9324a008ae0d2d69ad7b538d969859409c /gdb/dwarf2/macro.h | |
parent | 6ff330351e7741774c4b7ac1214cf7d73c7eac4d (diff) | |
download | binutils-064280be25f2ff27477ce649f01a70d42ddad2ae.zip binutils-064280be25f2ff27477ce649f01a70d42ddad2ae.tar.gz binutils-064280be25f2ff27477ce649f01a70d42ddad2ae.tar.bz2 |
Fix the i386 build
Remove old, no longer needed and no longer valid extern.
../../gdb/i386-nbsd-tdep.c:58:12: error: 'i386nbsd_sc_reg_offset' was declared 'extern' and later 'static' [-fpermissive]
58 | static int i386nbsd_sc_reg_offset[] =
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from ../../gdb/i386-nbsd-tdep.c:31:
../../gdb/i386-tdep.h:480:12: note: previous declaration of 'i386nbsd_sc_reg_offset'
480 | extern int i386nbsd_sc_reg_offset[];
| ^~~~~~~~~~~~~~~~~~~~~~
gdb/ChangeLog:
* i386-tdep.h (i386nbsd_sc_reg_offset): Remove.
Diffstat (limited to 'gdb/dwarf2/macro.h')
0 files changed, 0 insertions, 0 deletions