openrisc / or1ksim

The OpenRISC 1000 architectural simulator
GNU General Public License v3.0
69 stars 43 forks source link

debug: Fix declaration/definition mismatch in `{set, get}_devint_reg` #27

Closed CohenArthur closed 11 months ago

CohenArthur commented 11 months ago

The declaration for {set, get}_devint_reg did not match the definition later down the file, despite the enumeration being used as the argument of the first type already being in scope. This caused warnings and an error on certain compilers.

jeremybennett commented 11 months ago

Thanks @CohenArthur . This looks obvious to me. Happy to merge.