diff options
author | Manuel Novoa III <mjn3@codepoet.org> | 2002-09-09 21:42:27 +0000 |
---|---|---|
committer | Manuel Novoa III <mjn3@codepoet.org> | 2002-09-09 21:42:27 +0000 |
commit | 8780d38cca6879580b0315aac5ac51e0f4957367 (patch) | |
tree | be9494a78d394a0208da85c0b6858bff5507fc50 /libm | |
parent | ccc481bbb086c97073b76ae369a16f204c845972 (diff) |
Clean up a warning.
Diffstat (limited to 'libm')
-rw-r--r-- | libm/w_cabs.c | 4 |
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); } |