summaryrefslogtreecommitdiff
path: root/missing/hypot.c
diff options
context:
space:
mode:
Diffstat (limited to 'missing/hypot.c')
-rw-r--r--missing/hypot.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/missing/hypot.c b/missing/hypot.c
index c55dab71c7..765581bacb 100644
--- a/missing/hypot.c
+++ b/missing/hypot.c
@@ -1,10 +1,9 @@
/* public domain rewrite of hypot */
-#include "missing.h"
+#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;