aboutsummaryrefslogtreecommitdiff
path: root/src/complex/crealf.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-03-22 15:54:55 -0400
committerRich Felker <dalias@aerifal.cx>2012-03-22 15:54:55 -0400
commit13e400b3559666b5e584bdf6f8450aad826b43ae (patch)
treefb19a9f228b2a78dc8e8afc8f7d3439b0865c736 /src/complex/crealf.c
parenttgmath.h: suppress any existing macro definitions before defining macros (diff)
downloadgrovel-13e400b3559666b5e584bdf6f8450aad826b43ae.tar.gz
grovel-13e400b3559666b5e584bdf6f8450aad826b43ae.tar.xz
add creal/cimag macros in complex.h (and use them in the functions defs)
Diffstat (limited to 'src/complex/crealf.c')
-rw-r--r--src/complex/crealf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/complex/crealf.c b/src/complex/crealf.c
index 078232f0..5dc3ff1d 100644
--- a/src/complex/crealf.c
+++ b/src/complex/crealf.c
@@ -1,6 +1,6 @@
#include <complex.h>
-float crealf(float complex z)
+float (crealf)(float complex z)
{
- return z;
+ return crealf(z);
}