From owner-freebsd-alpha Mon Jun 21 19:27:56 1999 Delivered-To: freebsd-alpha@freebsd.org Received: from mail.HiWAAY.net (fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (Postfix) with ESMTP id 029F414DC9 for ; Mon, 21 Jun 1999 19:27:36 -0700 (PDT) (envelope-from sprice@hiwaay.net) Received: from localhost (sprice@localhost) by mail.HiWAAY.net (8.9.1a/8.9.0) with ESMTP id VAA11044 for ; Mon, 21 Jun 1999 21:27:35 -0500 (CDT) Date: Mon, 21 Jun 1999 21:27:34 -0500 (CDT) From: Steve Price To: freebsd-alpha@freebsd.org Subject: fpsetmask from C++ program on Alpha Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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 #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