about summary refs log tree commit diff
path: root/src/fenv/m68k/fenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fenv/m68k/fenv.c')
-rw-r--r--src/fenv/m68k/fenv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fenv/m68k/fenv.c b/src/fenv/m68k/fenv.c
index e60949d1..fa853797 100644
--- a/src/fenv/m68k/fenv.c
+++ b/src/fenv/m68k/fenv.c
@@ -1,4 +1,5 @@
 #include <fenv.h>
+#include "libc.h"
 
 #if __HAVE_68881__ || __mcffpu__
 
@@ -50,7 +51,7 @@ int fegetround(void)
 	return getcr() & FE_UPWARD;
 }
 
-int __fesetround(int r)
+hidden int __fesetround(int r)
 {
 	setcr((getcr() & ~FE_UPWARD) | r);
 	return 0;