* followed Ingo's suggestion and used uint*_t types instead of public Haiku types.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37388 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval
2010-07-04 12:36:38 +00:00
parent 8386c959c4
commit 5efd950f28
4 changed files with 15 additions and 15 deletions
+2 -2
View File
@@ -33,8 +33,8 @@
#include <sys/types.h> #include <sys/types.h>
#include <SupportDefs.h> #include <SupportDefs.h>
typedef uint32 fenv_t; typedef uint32_t fenv_t;
typedef uint32 fexcept_t; typedef uint32_t fexcept_t;
/* Exception flags */ /* Exception flags */
#define FE_INVALID 0x0001 #define FE_INVALID 0x0001
+3 -3
View File
@@ -33,8 +33,8 @@
#include <sys/types.h> #include <sys/types.h>
#include <SupportDefs.h> #include <SupportDefs.h>
typedef uint32 fenv_t; typedef uint32_t fenv_t;
typedef uint32 fexcept_t; typedef uint32_t fexcept_t;
/* Exception flags */ /* Exception flags */
#define FE_INEXACT 0x02000000 #define FE_INEXACT 0x02000000
@@ -95,7 +95,7 @@ extern const fenv_t __fe_dfl_env;
union __fpscr { union __fpscr {
double __d; double __d;
struct { struct {
uint32 __junk; uint32_t __junk;
fenv_t __reg; fenv_t __reg;
} __bits; } __bits;
}; };
+6 -6
View File
@@ -38,11 +38,11 @@
* mxcsr into some reserved fields, rather than changing sizeof(fenv_t). * mxcsr into some reserved fields, rather than changing sizeof(fenv_t).
*/ */
typedef struct { typedef struct {
uint16 __control; uint16_t __control;
uint16 __mxcsr_hi; uint16_t __mxcsr_hi;
uint16 __status; uint16_t __status;
uint16 __mxcsr_lo; uint16_t __mxcsr_lo;
uint32 __tag; uint32_t __tag;
char __other[16]; char __other[16];
} fenv_t; } fenv_t;
@@ -53,7 +53,7 @@ typedef struct {
(env).__mxcsr_lo = (uint16)(x); \ (env).__mxcsr_lo = (uint16)(x); \
} while (0) } while (0)
typedef uint16 fexcept_t; typedef uint16_t fexcept_t;
/* Exception flags */ /* Exception flags */
#define FE_INVALID 0x01 #define FE_INVALID 0x01
+4 -4
View File
@@ -34,12 +34,12 @@
typedef struct { typedef struct {
struct { struct {
uint32 __control; uint32_t __control;
uint32 __status; uint32_t __status;
uint32 __tag; uint32_t __tag;
char __other[16]; char __other[16];
} __x87; } __x87;
uint32 __mxcsr; uint32_t __mxcsr;
} fenv_t; } fenv_t;
typedef uint16 fexcept_t; typedef uint16 fexcept_t;