Skip to content

Commit abc82aa

Browse files
committed
aarch64: clean code
1 parent 794ab64 commit abc82aa

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

include/openlibm_fenv_aarch64.h

+5-8
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,12 @@
2424
* SUCH DAMAGE.
2525
*/
2626

27-
#ifdef __arm__
28-
#include <arm/fenv.h>
29-
#else /* __arm__ */
30-
3127
#ifndef _FENV_H_
3228
#define _FENV_H_
3329

34-
#include <sys/_types.h>
30+
#include <stdint.h>
31+
32+
#include "cdefs-compat.h"
3533

3634
#ifndef __fenv_static
3735
#define __fenv_static static
@@ -80,7 +78,8 @@ extern const fenv_t __fe_dfl_env;
8078
#define __mrs_fpsr(__r) __asm __volatile("mrs %0, fpsr" : "=r" (__r))
8179
#define __msr_fpsr(__r) __asm __volatile("msr fpsr, %0" : : "r" (__r))
8280

83-
__fenv_static __inline int
81+
82+
__fenv_static inline int
8483
feclearexcept(int __excepts)
8584
{
8685
fexcept_t __r;
@@ -246,5 +245,3 @@ fegetexcept(void)
246245
__END_DECLS
247246

248247
#endif /* !_FENV_H_ */
249-
250-
#endif /* __arm__ */

0 commit comments

Comments
 (0)