about summary refs log tree commit diff
path: root/sysdeps/libm-ieee754/s_nan.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/libm-ieee754/s_nan.c')
-rw-r--r--sysdeps/libm-ieee754/s_nan.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/libm-ieee754/s_nan.c b/sysdeps/libm-ieee754/s_nan.c
index 58551c1ad5..0d065d5c72 100644
--- a/sysdeps/libm-ieee754/s_nan.c
+++ b/sysdeps/libm-ieee754/s_nan.c
@@ -31,7 +31,7 @@
 
 
 double
-nan (const char *tagp)
+__nan (const char *tagp)
 {
 #ifdef HANDLE_TAGP
   /* If we ever should have use of the TAGP parameter we will use the
@@ -45,3 +45,4 @@ nan (const char *tagp)
   return nan_value.d;
 #endif
 }
+weak_alias (__nan, nan)