diff options
author | obrien <obrien@FreeBSD.org> | 2000-05-10 19:00:45 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2000-05-10 19:00:45 +0000 |
commit | 4c9cbbd68454bc7370d7996d737befff81d3afc4 (patch) | |
tree | 6a6e329ac54c6d7a40d325110806325f92249f25 /lib/libc/alpha | |
parent | a1a769d93e6080bab3ab2c67906c3d2586e16aed (diff) | |
download | FreeBSD-src-4c9cbbd68454bc7370d7996d737befff81d3afc4.zip FreeBSD-src-4c9cbbd68454bc7370d7996d737befff81d3afc4.tar.gz |
fp_except => fp_except_t for consistancy with the i386 and the tradition
C methoid of nameing types.
Diffstat (limited to 'lib/libc/alpha')
-rw-r--r-- | lib/libc/alpha/gen/fpgetmask.c | 5 | ||||
-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/fpsetsticky.c | 5 |
4 files changed, 12 insertions, 8 deletions
diff --git a/lib/libc/alpha/gen/fpgetmask.c b/lib/libc/alpha/gen/fpgetmask.c index 516ae98..466ec21 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/fpgetsticky.c b/lib/libc/alpha/gen/fpgetsticky.c index c0ff4d7..c74eafd 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 05201ce..72c3a54 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/fpsetsticky.c b/lib/libc/alpha/gen/fpsetsticky.c index ae0d742..60807c1 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 ; |