diff options
author | Yaakov Selkowitz <yselkowi@redhat.com> | 2017-12-03 23:54:48 -0600 |
---|---|---|
committer | Yaakov Selkowitz <yselkowi@redhat.com> | 2018-01-17 11:47:29 -0600 |
commit | 70ee6b17df9b055a05cdcc4d3fe1813d7b57e2d8 (patch) | |
tree | dca0744ad66ae0e81c8535303f58fca114b80f63 /newlib/libm/test/math.c | |
parent | 77f16db546d9c214f639d1ea84c58d99f9e4d282 (diff) | |
download | newlib-70ee6b17df9b055a05cdcc4d3fe1813d7b57e2d8.zip newlib-70ee6b17df9b055a05cdcc4d3fe1813d7b57e2d8.tar.gz newlib-70ee6b17df9b055a05cdcc4d3fe1813d7b57e2d8.tar.bz2 |
ansification: remove _EXFUN, _EXFUN_NOTHROW
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Diffstat (limited to 'newlib/libm/test/math.c')
-rw-r--r-- | newlib/libm/test/math.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/newlib/libm/test/math.c b/newlib/libm/test/math.c index dda587a..0a6389a 100644 --- a/newlib/libm/test/math.c +++ b/newlib/libm/test/math.c @@ -263,7 +263,7 @@ run_vector_1 (int vector, if (strcmp(args,"dd")==0) { - typedef double _EXFUN((*pdblfunc),(double)); + typedef double (*pdblfunc) (double); /* Double function returning a double */ @@ -276,7 +276,7 @@ run_vector_1 (int vector, float arga; double a; - typedef float _EXFUN((*pdblfunc),(float)); + typedef float (*pdblfunc) (float); /* Double function returning a double */ @@ -289,7 +289,7 @@ run_vector_1 (int vector, } else if (strcmp(args,"ddd")==0) { - typedef double _EXFUN((*pdblfunc),(double,double)); + typedef double (*pdblfunc) (double,double); result = ((pdblfunc)(func))(arg1,arg2); finish(f, vector, result, p,args, name); @@ -301,7 +301,7 @@ run_vector_1 (int vector, float arga; float argb; - typedef float _EXFUN((*pdblfunc),(float,float)); + typedef float (*pdblfunc) (float,float); if (arg1 < FLT_MAX && arg2 < FLT_MAX) @@ -314,7 +314,7 @@ run_vector_1 (int vector, } else if (strcmp(args,"did")==0) { - typedef double _EXFUN((*pdblfunc),(int,double)); + typedef double (*pdblfunc) (int,double); result = ((pdblfunc)(func))((int)arg1,arg2); finish(f, vector, result, p,args, name); @@ -326,7 +326,7 @@ run_vector_1 (int vector, float arga; float argb; - typedef float _EXFUN((*pdblfunc),(int,float)); + typedef float (*pdblfunc) (int,float); if (arg1 < FLT_MAX && arg2 < FLT_MAX) |