Fix the i386 build
authorKamil Rytarowski <n54@gmx.com>
Thu, 1 Oct 2020 23:00:22 +0000 (01:00 +0200)
committerKamil Rytarowski <n54@gmx.com>
Thu, 1 Oct 2020 23:04:39 +0000 (01:04 +0200)
commit064280be25f2ff27477ce649f01a70d42ddad2ae
tree359e7e9324a008ae0d2d69ad7b538d969859409c
parent6ff330351e7741774c4b7ac1214cf7d73c7eac4d
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.
gdb/ChangeLog
gdb/i386-tdep.h
This page took 0.024361 seconds and 4 git commands to generate.