mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-24 12:35:55 +08:00
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.
This commit is contained in:
parent
697fa6fe67
commit
73eef3fc38
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user