summaryrefslogtreecommitdiff
path: root/missing/hypot.c
diff options
context:
space:
mode:
Diffstat (limited to 'missing/hypot.c')
-rw-r--r--missing/hypot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/missing/hypot.c b/missing/hypot.c
index aad5259e92..765581bacb 100644
--- a/missing/hypot.c
+++ b/missing/hypot.c
@@ -1,9 +1,9 @@
/* public domain rewrite of hypot */
+#include "ruby/missing.h"
#include <math.h>
-double hypot(x,y)
- double x, y;
+double hypot(double x, double y)
{
if (x < 0) x = -x;
if (y < 0) y = -y;