summaryrefslogtreecommitdiff
path: root/libm/w_cabs.c
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2002-09-09 21:42:27 +0000
committerManuel Novoa III <mjn3@codepoet.org>2002-09-09 21:42:27 +0000
commit8780d38cca6879580b0315aac5ac51e0f4957367 (patch)
treebe9494a78d394a0208da85c0b6858bff5507fc50 /libm/w_cabs.c
parentccc481bbb086c97073b76ae369a16f204c845972 (diff)
Clean up a warning.
Diffstat (limited to 'libm/w_cabs.c')
-rw-r--r--libm/w_cabs.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libm/w_cabs.c b/libm/w_cabs.c
index f55a2dde8..e5092a401 100644
--- a/libm/w_cabs.c
+++ b/libm/w_cabs.c
@@ -12,9 +12,7 @@ struct complex {
double y;
};
-double
-cabs(z)
- struct complex z;
+double cabs(struct complex z)
{
return hypot(z.x, z.y);
}