From 039f1b3c564667ab6fc9955bd892c2e527eb80b0 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Mon, 10 Sep 2018 15:51:44 -0400 Subject: make arch __fesetround backends hidden these are not public interfaces and do not match the public function, but delegate argument checking to it. --- src/fenv/s390x/fenv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/fenv/s390x') 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 +#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; -- cgit v1.2.1