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:
Mike Frysinger 2021-11-06 20:59:17 -04:00
parent 697fa6fe67
commit 73eef3fc38

View File

@ -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;