add creal/cimag macros in complex.h (and use them in the functions defs)
[musl] / src / complex / crealf.c
index 078232f..5dc3ff1 100644 (file)
@@ -1,6 +1,6 @@
 #include <complex.h>
 
-float crealf(float complex z)
+float (crealf)(float complex z)
 {
-       return z;
+       return crealf(z);
 }