diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-11-06 20:59:17 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-11-06 20:59:17 -0400 |
commit | 73eef3fc38780753a30954d52b86beb1a281f783 (patch) | |
tree | 08e44a83a91a9ea920db10c18ab8fdcb7edcd1b4 /sim/sh/interp.c | |
parent | 697fa6fe670d20403c63de0746aaa6a706c7ca3b (diff) | |
download | gdb-73eef3fc38780753a30954d52b86beb1a281f783.zip gdb-73eef3fc38780753a30954d52b86beb1a281f783.tar.gz gdb-73eef3fc38780753a30954d52b86beb1a281f783.tar.bz2 |
sim: sh: drop errno extern
This isn't needed on any reasonable target nowadays, and no other
source does this, and breaks with some mingw targets, so punt the
extern entirely.
Diffstat (limited to 'sim/sh/interp.c')
-rw-r--r-- | sim/sh/interp.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sim/sh/interp.c b/sim/sh/interp.c index c4ac5b3..ce4d6cd 100644 --- a/sim/sh/interp.c +++ b/sim/sh/interp.c @@ -879,7 +879,6 @@ trap (SIM_DESC sd, int i, int *regs, unsigned char *insn_ptr, } case 34: { - extern int errno; int perrno = errno; errno = 0; |