diff options
-rw-r--r-- | include/ieeefp.h | 4 | ||||
-rw-r--r-- | lib/libc/alpha/gen/fpgetround.c | 2 | ||||
-rw-r--r-- | lib/libc/alpha/gen/fpsetround.c | 4 | ||||
-rw-r--r-- | sys/alpha/include/ieeefp.h | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/include/ieeefp.h b/include/ieeefp.h index 4ae8bc8..d439efa 100644 --- a/include/ieeefp.h +++ b/include/ieeefp.h @@ -16,8 +16,8 @@ #include <machine/floatingpoint.h> #else /* !__i386__ */ __BEGIN_DECLS -extern fp_rnd fpgetround __P((void)); -extern fp_rnd fpsetround __P((fp_rnd)); +extern fp_rnd_t fpgetround __P((void)); +extern fp_rnd_t fpsetround __P((fp_rnd_t)); extern fp_except_t fpgetmask __P((void)); extern fp_except_t fpsetmask __P((fp_except_t)); extern fp_except_t fpgetsticky __P((void)); diff --git a/lib/libc/alpha/gen/fpgetround.c b/lib/libc/alpha/gen/fpgetround.c index 0cde40f..551e65e 100644 --- a/lib/libc/alpha/gen/fpgetround.c +++ b/lib/libc/alpha/gen/fpgetround.c @@ -36,7 +36,7 @@ #include <ieeefp.h> #include <machine/fpu.h> -fp_rnd +fp_rnd_t fpgetround() { double fpcrval; diff --git a/lib/libc/alpha/gen/fpsetround.c b/lib/libc/alpha/gen/fpsetround.c index 3308983..df924dd 100644 --- a/lib/libc/alpha/gen/fpsetround.c +++ b/lib/libc/alpha/gen/fpsetround.c @@ -36,9 +36,9 @@ #include <ieeefp.h> #include <machine/fpu.h> -fp_rnd +fp_rnd_t fpsetround(rnd_dir) - fp_rnd rnd_dir; + fp_rnd_t rnd_dir; { double fpcrval; u_int64_t old, new; diff --git a/sys/alpha/include/ieeefp.h b/sys/alpha/include/ieeefp.h index 1cc2428..d673507 100644 --- a/sys/alpha/include/ieeefp.h +++ b/sys/alpha/include/ieeefp.h @@ -24,6 +24,6 @@ typedef enum { FP_RM=1, /* round toward negative infinity */ FP_RN=2, /* round to nearest representable number */ FP_RP=3 /* round toward positive infinity */ -} fp_rnd; +} fp_rnd_t; #endif /* _ALPHA_IEEEFP_H_ */ |