]> git.ipfire.org Git - thirdparty/glibc.git/commit
[powerpc] fenv_private.h clean up
authorPaul A. Clarke <pc@us.ibm.com>
Thu, 19 Sep 2019 14:13:14 +0000 (09:13 -0500)
committerPaul A. Clarke <pc@us.ibm.com>
Wed, 13 Nov 2019 21:36:31 +0000 (15:36 -0600)
commit6a1cfa6c0b0c3984bdcbe041f8648dc7de897721
treefe4758f9a2305a5ceacfeab1de87a24a9914f64e
parentd7c93b27ee71e23e26e63125d97d63487f41ffa9
[powerpc] fenv_private.h clean up

fenv_private.h includes unused functions, magic macro constants, and
some replicated common code fragments.

Remove unused functions, replace magic constants with constants from
fenv_libc.h, and refactor replicated code.

Suggested-by: Paul E. Murphy <murphyp@linux.ibm.com>
Reviewed-By: Paul E Murphy <murphyp@linux.ibm.com>
ChangeLog
sysdeps/powerpc/fpu/fedisblxcpt.c
sysdeps/powerpc/fpu/feenablxcpt.c
sysdeps/powerpc/fpu/feholdexcpt.c
sysdeps/powerpc/fpu/fenv_libc.h
sysdeps/powerpc/fpu/fenv_private.h
sysdeps/powerpc/fpu/fesetenv.c
sysdeps/powerpc/fpu/fesetmode.c
sysdeps/powerpc/fpu/feupdateenv.c