aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86_64
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-10-21 07:39:28 -0400
committerUlrich Drepper <drepper@gmail.com>2011-10-21 07:39:28 -0400
commit1a97a8c78f9b99d835581f14fc6beb57cb93e97a (patch)
tree3cd0ed9b962880ef0b6ba1f7a9ab62be7d237f40 /sysdeps/x86_64
parented72b6545f6d20f2d29ed71d65394d4a75ad358e (diff)
downloadglibc-1a97a8c78f9b99d835581f14fc6beb57cb93e97a.tar
glibc-1a97a8c78f9b99d835581f14fc6beb57cb93e97a.tar.gz
glibc-1a97a8c78f9b99d835581f14fc6beb57cb93e97a.tar.bz2
glibc-1a97a8c78f9b99d835581f14fc6beb57cb93e97a.zip
Don't use NULL in last s_fma{,f} change
Diffstat (limited to 'sysdeps/x86_64')
-rw-r--r--sysdeps/x86_64/fpu/multiarch/s_fma.c2
-rw-r--r--sysdeps/x86_64/fpu/multiarch/s_fmaf.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/x86_64/fpu/multiarch/s_fma.c b/sysdeps/x86_64/fpu/multiarch/s_fma.c
index 06f2d001d9..dca256a517 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 53c08de47c..0dcf273ea0 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