projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
697fa6f
)
sim: sh: drop errno extern
author
Mike Frysinger
<vapier@gentoo.org>
Sun, 7 Nov 2021 00:59:17 +0000
(20:59 -0400)
committer
Mike Frysinger
<vapier@gentoo.org>
Sun, 7 Nov 2021 00:59:17 +0000
(20:59 -0400)
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.
sim/sh/interp.c
patch
|
blob
|
history
diff --git
a/sim/sh/interp.c
b/sim/sh/interp.c
index c4ac5b3e66b1efbccb31c022924fdf4e2bfd6ae6..ce4d6cd760324134915e47ce32619532a899214a 100644
(file)
--- 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;