diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2000-08-17 08:08:15 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2000-08-17 08:08:15 +0000 |
| commit | e065e1b70ff0ea89b69f6ac9881c8c6032c96350 (patch) | |
| tree | da3c21a68c53397db901b67fabf6f05d5a1b8eae /lib/libc | |
| parent | 6c7f93e6a83e6e39e6ed7777499f9d6ed9a1d5ac (diff) | |
Notes
Diffstat (limited to 'lib/libc')
| -rw-r--r-- | lib/libc/alpha/gen/fpgetmask.c | 5 | ||||
| -rw-r--r-- | lib/libc/alpha/gen/fpgetround.c | 3 | ||||
| -rw-r--r-- | lib/libc/alpha/gen/fpgetsticky.c | 3 | ||||
| -rw-r--r-- | lib/libc/alpha/gen/fpsetmask.c | 7 | ||||
| -rw-r--r-- | lib/libc/alpha/gen/fpsetround.c | 5 | ||||
| -rw-r--r-- | lib/libc/alpha/gen/fpsetsticky.c | 5 |
6 files changed, 17 insertions, 11 deletions
diff --git a/lib/libc/alpha/gen/fpgetmask.c b/lib/libc/alpha/gen/fpgetmask.c index 516ae981d55c..466ec214e07e 100644 --- a/lib/libc/alpha/gen/fpgetmask.c +++ b/lib/libc/alpha/gen/fpgetmask.c @@ -1,4 +1,5 @@ /* $NetBSD: fpgetmask.c,v 1.1 1995/04/29 05:10:55 cgd Exp $ */ +/* $FreeBSD$ */ /* * Copyright (c) 1995 Christopher G. Demetriou @@ -39,11 +40,11 @@ struct params { u_int64_t mask; }; -fp_except +fp_except_t fpgetmask() { struct params p; sysarch(ALPHA_GET_FPMASK, (char *) &p); - return((fp_except) p.mask); + return((fp_except_t) p.mask); } diff --git a/lib/libc/alpha/gen/fpgetround.c b/lib/libc/alpha/gen/fpgetround.c index 46976c2e4c11..551e65eea78a 100644 --- a/lib/libc/alpha/gen/fpgetround.c +++ b/lib/libc/alpha/gen/fpgetround.c @@ -1,4 +1,5 @@ /* $NetBSD: fpgetround.c,v 1.1 1995/04/29 05:09:55 cgd Exp $ */ +/* $FreeBSD$ */ /* * Copyright (c) 1995 Christopher G. Demetriou @@ -35,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/fpgetsticky.c b/lib/libc/alpha/gen/fpgetsticky.c index c0ff4d75c88a..c74eafd5af02 100644 --- a/lib/libc/alpha/gen/fpgetsticky.c +++ b/lib/libc/alpha/gen/fpgetsticky.c @@ -1,4 +1,5 @@ /* $NetBSD: fpgetsticky.c,v 1.1 1995/04/29 05:10:59 cgd Exp $ */ +/* $FreeBSD$ */ /* * Copyright (c) 1995 Christopher G. Demetriou @@ -35,7 +36,7 @@ #include <ieeefp.h> #include <machine/fpu.h> -fp_except +fp_except_t fpgetsticky() { double fpcrval; diff --git a/lib/libc/alpha/gen/fpsetmask.c b/lib/libc/alpha/gen/fpsetmask.c index 05201ce81d40..72c3a5495d8a 100644 --- a/lib/libc/alpha/gen/fpsetmask.c +++ b/lib/libc/alpha/gen/fpsetmask.c @@ -1,4 +1,5 @@ /* $NetBSD: fpsetmask.c,v 1.1 1995/04/29 05:11:01 cgd Exp $ */ +/* $FreeBSD$ */ /* * Copyright (c) 1995 Christopher G. Demetriou @@ -39,13 +40,13 @@ struct params { u_int64_t mask; }; -fp_except +fp_except_t fpsetmask(mask) - fp_except mask; + fp_except_t mask; { struct params p; p.mask = (u_int64_t) mask; sysarch(ALPHA_SET_FPMASK, (char *) &p); - return ((fp_except) p.mask); + return ((fp_except_t) p.mask); } diff --git a/lib/libc/alpha/gen/fpsetround.c b/lib/libc/alpha/gen/fpsetround.c index 0d8f40af6d65..df924ddf1253 100644 --- a/lib/libc/alpha/gen/fpsetround.c +++ b/lib/libc/alpha/gen/fpsetround.c @@ -1,4 +1,5 @@ /* $NetBSD: fpsetround.c,v 1.1 1995/04/29 05:09:57 cgd Exp $ */ +/* $FreeBSD$ */ /* * Copyright (c) 1995 Christopher G. Demetriou @@ -35,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/lib/libc/alpha/gen/fpsetsticky.c b/lib/libc/alpha/gen/fpsetsticky.c index ae0d742f79f0..60807c1bd9f3 100644 --- a/lib/libc/alpha/gen/fpsetsticky.c +++ b/lib/libc/alpha/gen/fpsetsticky.c @@ -1,4 +1,5 @@ /* $NetBSD: fpsetsticky.c,v 1.1 1995/04/29 05:11:04 cgd Exp $ */ +/* $FreeBSD$ */ /* * Copyright (c) 1995 Christopher G. Demetriou @@ -35,9 +36,9 @@ #include <ieeefp.h> #include <machine/fpu.h> -fp_except +fp_except_t fpsetsticky(sticky) - fp_except sticky; + fp_except_t sticky; { double fpcrval; u_int64_t old,new ; |
