diff options
Diffstat (limited to 'sim/erc32/float.c')
-rw-r--r-- | sim/erc32/float.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sim/erc32/float.c b/sim/erc32/float.c index ff548a2..6d3d2bd 100644 --- a/sim/erc32/float.c +++ b/sim/erc32/float.c @@ -32,7 +32,7 @@ /* This routine should return the accrued exceptions */ int -get_accex() +get_accex(void) { int fexc, accx; @@ -53,15 +53,14 @@ get_accex() /* How to clear the accrued exceptions */ void -clear_accex() +clear_accex(void) { feclearexcept (FE_ALL_EXCEPT); } /* How to map SPARC FSR onto the host */ void -set_fsr(fsr) -uint32 fsr; +set_fsr(uint32 fsr) { int fround; |