diff options
author | Rich Felker <dalias@aerifal.cx> | 2018-09-10 15:51:44 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2018-09-12 14:34:32 -0400 |
commit | 039f1b3c564667ab6fc9955bd892c2e527eb80b0 (patch) | |
tree | 2ef6e7d47c72a8bb1d18bf11a4069bd5d7b4a15e /src/fenv/s390x/fenv.c | |
parent | 5e1019b01c968707accc85c99e63a18af665cf27 (diff) | |
download | musl-039f1b3c564667ab6fc9955bd892c2e527eb80b0.tar.gz |
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/s390x/fenv.c')
-rw-r--r-- | src/fenv/s390x/fenv.c | 3 |
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; |