diff --git a/headers/posix/arch/arm/fenv.h b/headers/posix/arch/arm/fenv.h index 9047962986..169e61964b 100644 --- a/headers/posix/arch/arm/fenv.h +++ b/headers/posix/arch/arm/fenv.h @@ -33,8 +33,8 @@ #include #include -typedef uint32 fenv_t; -typedef uint32 fexcept_t; +typedef uint32_t fenv_t; +typedef uint32_t fexcept_t; /* Exception flags */ #define FE_INVALID 0x0001 diff --git a/headers/posix/arch/ppc/fenv.h b/headers/posix/arch/ppc/fenv.h index e6658a2bc8..d54245cf36 100644 --- a/headers/posix/arch/ppc/fenv.h +++ b/headers/posix/arch/ppc/fenv.h @@ -33,8 +33,8 @@ #include #include -typedef uint32 fenv_t; -typedef uint32 fexcept_t; +typedef uint32_t fenv_t; +typedef uint32_t fexcept_t; /* Exception flags */ #define FE_INEXACT 0x02000000 @@ -95,7 +95,7 @@ extern const fenv_t __fe_dfl_env; union __fpscr { double __d; struct { - uint32 __junk; + uint32_t __junk; fenv_t __reg; } __bits; }; diff --git a/headers/posix/arch/x86/fenv.h b/headers/posix/arch/x86/fenv.h index 6e32e32e2e..d9fa4d911c 100644 --- a/headers/posix/arch/x86/fenv.h +++ b/headers/posix/arch/x86/fenv.h @@ -38,11 +38,11 @@ * mxcsr into some reserved fields, rather than changing sizeof(fenv_t). */ typedef struct { - uint16 __control; - uint16 __mxcsr_hi; - uint16 __status; - uint16 __mxcsr_lo; - uint32 __tag; + uint16_t __control; + uint16_t __mxcsr_hi; + uint16_t __status; + uint16_t __mxcsr_lo; + uint32_t __tag; char __other[16]; } fenv_t; @@ -53,7 +53,7 @@ typedef struct { (env).__mxcsr_lo = (uint16)(x); \ } while (0) -typedef uint16 fexcept_t; +typedef uint16_t fexcept_t; /* Exception flags */ #define FE_INVALID 0x01 diff --git a/headers/posix/arch/x86_64/fenv.h b/headers/posix/arch/x86_64/fenv.h index 59732b1d15..76f85e1999 100644 --- a/headers/posix/arch/x86_64/fenv.h +++ b/headers/posix/arch/x86_64/fenv.h @@ -34,12 +34,12 @@ typedef struct { struct { - uint32 __control; - uint32 __status; - uint32 __tag; + uint32_t __control; + uint32_t __status; + uint32_t __tag; char __other[16]; } __x87; - uint32 __mxcsr; + uint32_t __mxcsr; } fenv_t; typedef uint16 fexcept_t;