convert to ANSI C definitions.
This commit is contained in:
parent
684100d315
commit
a078c85622
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: fpsetmask.c,v 1.6 2012/03/17 21:35:06 martin Exp $ */
|
||||
/* $NetBSD: fpsetmask.c,v 1.7 2013/10/28 01:06:36 mrg Exp $ */
|
||||
|
||||
/*
|
||||
* Written by J.T. Conklin, Apr 10, 1995
|
||||
|
@ -7,7 +7,7 @@
|
|||
|
||||
#include <sys/cdefs.h>
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
__RCSID("$NetBSD: fpsetmask.c,v 1.6 2012/03/17 21:35:06 martin Exp $");
|
||||
__RCSID("$NetBSD: fpsetmask.c,v 1.7 2013/10/28 01:06:36 mrg Exp $");
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#include "namespace.h"
|
||||
|
@ -24,8 +24,7 @@ extern fp_except _softfloat_float_exception_mask;
|
|||
#endif
|
||||
|
||||
fp_except
|
||||
fpsetmask(mask)
|
||||
fp_except mask;
|
||||
fpsetmask(fp_except mask)
|
||||
{
|
||||
fp_except old;
|
||||
fp_except new;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: fpsetround.c,v 1.6 2013/02/15 09:25:03 martin Exp $ */
|
||||
/* $NetBSD: fpsetround.c,v 1.7 2013/10/28 01:06:36 mrg Exp $ */
|
||||
|
||||
/*
|
||||
* Written by J.T. Conklin, Apr 10, 1995
|
||||
|
@ -7,7 +7,7 @@
|
|||
|
||||
#include <sys/cdefs.h>
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
__RCSID("$NetBSD: fpsetround.c,v 1.6 2013/02/15 09:25:03 martin Exp $");
|
||||
__RCSID("$NetBSD: fpsetround.c,v 1.7 2013/10/28 01:06:36 mrg Exp $");
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#include "namespace.h"
|
||||
|
@ -20,8 +20,7 @@ __weak_alias(fpsetround,_fpsetround)
|
|||
#endif
|
||||
|
||||
fp_rnd
|
||||
fpsetround(rnd_dir)
|
||||
fp_rnd rnd_dir;
|
||||
fpsetround(fp_rnd rnd_dir)
|
||||
{
|
||||
fp_rnd old;
|
||||
fp_rnd new;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: fpsetsticky.c,v 1.6 2012/03/17 21:35:06 martin Exp $ */
|
||||
/* $NetBSD: fpsetsticky.c,v 1.7 2013/10/28 01:06:36 mrg Exp $ */
|
||||
|
||||
/*
|
||||
* Written by J.T. Conklin, Apr 10, 1995
|
||||
|
@ -7,7 +7,7 @@
|
|||
|
||||
#include <sys/cdefs.h>
|
||||
#if defined(LIBC_SCCS) && !defined(lint)
|
||||
__RCSID("$NetBSD: fpsetsticky.c,v 1.6 2012/03/17 21:35:06 martin Exp $");
|
||||
__RCSID("$NetBSD: fpsetsticky.c,v 1.7 2013/10/28 01:06:36 mrg Exp $");
|
||||
#endif /* LIBC_SCCS and not lint */
|
||||
|
||||
#include "namespace.h"
|
||||
|
@ -24,8 +24,7 @@ extern fp_except _softfloat_float_exception_flags;
|
|||
#endif
|
||||
|
||||
fp_except
|
||||
fpsetsticky(sticky)
|
||||
fp_except sticky;
|
||||
fpsetsticky(fp_except sticky)
|
||||
{
|
||||
fp_except old;
|
||||
fp_except new;
|
||||
|
|
Loading…
Reference in New Issue