aboutsummaryrefslogtreecommitdiff
path: root/newlib/libm/test/test_ieee.c
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2017-12-03 21:00:43 -0600
committerYaakov Selkowitz <yselkowi@redhat.com>2018-01-17 11:47:19 -0600
commitfff27f84298c8ae64879e143b068c3b2e6a11ba4 (patch)
treeea8c19d26a3d39f1ccafc98098d45fae1897ec4c /newlib/libm/test/test_ieee.c
parent670b01da7f04f785df5bed9cd8e22076aa6166d5 (diff)
downloadnewlib-fff27f84298c8ae64879e143b068c3b2e6a11ba4.zip
newlib-fff27f84298c8ae64879e143b068c3b2e6a11ba4.tar.gz
newlib-fff27f84298c8ae64879e143b068c3b2e6a11ba4.tar.bz2
ansification: remove _DEFUN_VOID
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Diffstat (limited to 'newlib/libm/test/test_ieee.c')
-rw-r--r--newlib/libm/test/test_ieee.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/newlib/libm/test/test_ieee.c b/newlib/libm/test/test_ieee.c
index 07c4941..167a40c 100644
--- a/newlib/libm/test/test_ieee.c
+++ b/newlib/libm/test/test_ieee.c
@@ -6,7 +6,7 @@
/* Test fp getround and fp setround */
void
-_DEFUN_VOID(test_getround)
+test_getround (void)
{
newfunc("fpgetround/fpsetround");
@@ -26,7 +26,7 @@ _DEFUN_VOID(test_getround)
/* And fpset/fpgetmask */
void
-_DEFUN_VOID(test_getmask)
+test_getmask (void)
{
newfunc("fpsetmask/fpgetmask");
line(1);
@@ -47,7 +47,7 @@ _DEFUN_VOID(test_getmask)
}
void
-_DEFUN_VOID(test_getsticky)
+test_getsticky (void)
{
newfunc("fpsetsticky/fpgetsticky");
line(1);
@@ -68,7 +68,7 @@ _DEFUN_VOID(test_getsticky)
}
void
-_DEFUN_VOID(test_getroundtoi)
+test_getroundtoi (void)
{
newfunc("fpsetroundtoi/fpgetroundtoi");
line(1);
@@ -105,7 +105,7 @@ double sub_rounded_down ;
double sub_rounded_up ;
double r1,r2,r3,r4;
void
-_DEFUN_VOID(test_round)
+test_round (void)
{
n = dnumber(0x40000000, 0x00000008); /* near 2 */
m = dnumber(0x40400000, 0x00000003); /* near 3.4 */
@@ -163,7 +163,7 @@ _DEFUN_VOID(test_round)
void
-_DEFUN_VOID(test_ieee)
+test_ieee (void)
{
fp_rnd old = fpgetround();
test_getround();