summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-26 23:23:30 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-26 23:23:30 +0000
commit219c3e12081b47fab05630ca3272f301df6aecca (patch)
tree0cbd2889efd56b5306d1fc898f351f543b4a2521
parente5337c906c9940917af4381258373156a648125a (diff)
ansi
-rw-r--r--lib/libm/src/w_cabs.c3
-rw-r--r--lib/libm/src/w_cabsf.c3
2 files changed, 2 insertions, 4 deletions
diff --git a/lib/libm/src/w_cabs.c b/lib/libm/src/w_cabs.c
index f55a2dde8e0..d851d339e58 100644
--- a/lib/libm/src/w_cabs.c
+++ b/lib/libm/src/w_cabs.c
@@ -13,8 +13,7 @@ struct complex {
};
double
-cabs(z)
- struct complex z;
+cabs(struct complex z)
{
return hypot(z.x, z.y);
}
diff --git a/lib/libm/src/w_cabsf.c b/lib/libm/src/w_cabsf.c
index d957a06908a..d98d0422f28 100644
--- a/lib/libm/src/w_cabsf.c
+++ b/lib/libm/src/w_cabsf.c
@@ -14,8 +14,7 @@ struct complex {
};
float
-cabsf(z)
- struct complex z;
+cabsf(struct complex z)
{
return hypotf(z.x, z.y);
}