From: Ulrich Drepper Date: Fri, 21 Oct 2011 11:39:28 +0000 (-0400) Subject: Don't use NULL in last s_fma{,f} change X-Git-Tag: glibc-2.15~197 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a97a8c78f9b99d835581f14fc6beb57cb93e97a;p=thirdparty%2Fglibc.git Don't use NULL in last s_fma{,f} change --- diff --git a/sysdeps/x86_64/fpu/multiarch/s_fma.c b/sysdeps/x86_64/fpu/multiarch/s_fma.c index 06f2d001d92..dca256a5174 100644 --- a/sysdeps/x86_64/fpu/multiarch/s_fma.c +++ b/sysdeps/x86_64/fpu/multiarch/s_fma.c @@ -45,7 +45,7 @@ __fma_fma4 (double x, double y, double z) # else # undef HAS_FMA4 # define HAS_FMA4 0 -# define __fma_fma4 NULL +# define __fma_fma4 ((void *) 0) # endif diff --git a/sysdeps/x86_64/fpu/multiarch/s_fmaf.c b/sysdeps/x86_64/fpu/multiarch/s_fmaf.c index 53c08de47c7..0dcf273ea00 100644 --- a/sysdeps/x86_64/fpu/multiarch/s_fmaf.c +++ b/sysdeps/x86_64/fpu/multiarch/s_fmaf.c @@ -44,7 +44,7 @@ __fmaf_fma4 (float x, float y, float z) # else # undef HAS_FMA4 # define HAS_FMA4 0 -# define __fmaf_fma4 NULL +# define __fmaf_fma4 ((void *) 0) # endif