summaryrefslogtreecommitdiff
path: root/src/fenv/s390x/fenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fenv/s390x/fenv.c')
-rw-r--r--src/fenv/s390x/fenv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fenv/s390x/fenv.c b/src/fenv/s390x/fenv.c
index 9a3488d7..72b9dbea 100644
--- a/src/fenv/s390x/fenv.c
+++ b/src/fenv/s390x/fenv.c
@@ -1,4 +1,5 @@
#include <fenv.h>
+#include "libc.h"
static inline unsigned get_fpc(void)
{
@@ -36,7 +37,7 @@ int fegetround(void)
return get_fpc() & 3;
}
-int __fesetround(int r)
+hidden int __fesetround(int r)
{
set_fpc(get_fpc() & ~3L | r);
return 0;