sim: ppc: avoid shadowing errno
authorMike Frysinger <vapier@gentoo.org>
Sat, 29 May 2021 21:57:55 +0000 (17:57 -0400)
committerMike Frysinger <vapier@gentoo.org>
Sat, 29 May 2021 22:05:20 +0000 (18:05 -0400)
commit952170707bb525babcd48f6e907512e36a4982ca
treed393a7d0b1994e46d3f229352e2c0c90fb8590ed
parent1f8ef36f752871485e6e462dc1cfaa8ac5058011
sim: ppc: avoid shadowing errno

If the OS headers define the "errno" symbol, it breaks some of these
funcs that were using "int errno" itself.  Rename local vars to "err"
to avoid that, and delete the old "extern int errno".
sim/ppc/ChangeLog
sim/ppc/emul_generic.c
sim/ppc/emul_generic.h
sim/ppc/emul_netbsd.c
sim/ppc/emul_unix.c