Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Jun 1999 21:27:34 -0500 (CDT)
From:      Steve Price <sprice@hiwaay.net>
To:        freebsd-alpha@freebsd.org
Subject:   fpsetmask from C++ program on Alpha
Message-ID:  <Pine.OSF.4.10.9906212124110.28278-100000@fly.HiWAAY.net>

next in thread | raw e-mail | index | archive | help
Anyone have an objection to me committing something along
the lines of the following patch so that one can use
fpsetmask(3) and friends from a C++ program on the Alpha?

Thanks.

-steve

Index: ieeefp.h
===================================================================
RCS file: /home/ncvs/src/include/ieeefp.h,v
retrieving revision 1.2
diff -u -r1.2 ieeefp.h
--- ieeefp.h	1999/03/05 18:15:05	1.2
+++ ieeefp.h	1999/06/22 02:22:21
@@ -14,12 +14,14 @@
 #ifdef __i386__
 #include <machine/floatingpoint.h>
 #else /* !__i386__ */
+__BEGIN_DECLS
 extern fp_rnd    fpgetround __P((void));
 extern fp_rnd    fpsetround __P((fp_rnd));
 extern fp_except fpgetmask __P((void));
 extern fp_except fpsetmask __P((fp_except));
 extern fp_except fpgetsticky __P((void));
 extern fp_except fpsetsticky __P((fp_except));
+__END_DECLS
 #endif /* __i386__ */
 
 #endif /* _IEEEFP_H_ */



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.4.10.9906212124110.28278-100000>