about summary refs log tree commit diff
path: root/src/fenv/m68k
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2018-09-10 15:51:44 -0400
committerRich Felker <dalias@aerifal.cx>2018-09-12 14:34:32 -0400
commit039f1b3c564667ab6fc9955bd892c2e527eb80b0 (patch)
tree2ef6e7d47c72a8bb1d18bf11a4069bd5d7b4a15e /src/fenv/m68k
parent5e1019b01c968707accc85c99e63a18af665cf27 (diff)
downloadmusl-039f1b3c564667ab6fc9955bd892c2e527eb80b0.tar.gz
musl-039f1b3c564667ab6fc9955bd892c2e527eb80b0.tar.xz
musl-039f1b3c564667ab6fc9955bd892c2e527eb80b0.zip
make arch __fesetround backends hidden
these are not public interfaces and do not match the public function,
but delegate argument checking to it.
Diffstat (limited to 'src/fenv/m68k')
-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;