From 9f47f11abdf7a6e93f9373d4780e53ba51053ec8 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Fri, 2 Sep 2022 14:32:32 +0900 Subject: [PATCH] math.c: update prototype style. --- mrbgems/mruby-math/src/math.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/mrbgems/mruby-math/src/math.c b/mrbgems/mruby-math/src/math.c index 79fdb7c6f..164bfe131 100644 --- a/mrbgems/mruby-math/src/math.c +++ b/mrbgems/mruby-math/src/math.c @@ -94,8 +94,7 @@ cbrt(double x) } /* Declaration of complementary Error function */ -double -erfc(double x); +double erfc(double x); /* ** Implementations of error functions @@ -324,8 +323,6 @@ math_atan2(mrb_state *mrb, mrb_value obj) return mrb_float_value(mrb, x); } - - /* HYPERBOLIC TRIG FUNCTIONS */