From 13e400b3559666b5e584bdf6f8450aad826b43ae Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Thu, 22 Mar 2012 15:54:55 -0400 Subject: add creal/cimag macros in complex.h (and use them in the functions defs) --- src/complex/creal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/complex/creal.c') diff --git a/src/complex/creal.c b/src/complex/creal.c index 2bb91812..f6703040 100644 --- a/src/complex/creal.c +++ b/src/complex/creal.c @@ -1,6 +1,6 @@ #include -double creal(double complex z) +double (creal)(double complex z) { - return z; + return creal(z); } -- cgit v1.2.1