]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - sim/or1k/traps.c
sim: or1k: fix mixing of code & decl warning
authorMike Frysinger <vapier@gentoo.org>
Tue, 12 Jan 2021 09:11:29 +0000 (04:11 -0500)
committerMike Frysinger <vapier@gentoo.org>
Tue, 12 Jan 2021 09:15:28 +0000 (04:15 -0500)
commite998918e9890d5efc0270ad6f140e098eaf0081f
tree5c2bf70927ebef7930c014c09d242da62f8de95e
parent5e9e2f41ebaa79d983133bb1374423815adb2f58
sim: or1k: fix mixing of code & decl warning

Use the correct style of declaring variables at top of scope.
This fixes a few compiler warnings in the process.
sim/or1k/ChangeLog
sim/or1k/traps.c