aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-02-27 01:12:19 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-02-27 01:12:19 +0000
commitf8ab5d38fdcbeaba4190ee5d8c768222a495978a (patch)
treed68f59a16050e33413ed0f578fedc187e4611a20
parent31331a07a547b89af8b6b659832d7a3c6c6f7b87 (diff)
downloadglibc-f8ab5d38fdcbeaba4190ee5d8c768222a495978a.zip
glibc-f8ab5d38fdcbeaba4190ee5d8c768222a495978a.tar.gz
glibc-f8ab5d38fdcbeaba4190ee5d8c768222a495978a.tar.bz2
Add comment to CSTR macro in k_standard.c.
* sysdeps/ieee754/k_standard.c (CSTR): Add comment.
-rw-r--r--ChangeLog4
-rw-r--r--sysdeps/ieee754/k_standard.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 44edaeb..b0755c3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-02-27 Joseph Myers <joseph@codesourcery.com>
+
+ * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
+
2015-02-26 Joseph Myers <joseph@codesourcery.com>
* sysdeps/ieee754/k_standard.c (CSTR): New macro.
diff --git a/sysdeps/ieee754/k_standard.c b/sysdeps/ieee754/k_standard.c
index 00bedc9..c8aebbf 100644
--- a/sysdeps/ieee754/k_standard.c
+++ b/sysdeps/ieee754/k_standard.c
@@ -105,6 +105,7 @@ __kernel_standard(double x, double y, int type)
SET_HIGH_WORD(inf,0x7ff00000); /* set inf to infinite */
#endif
+ /* The SVID struct exception uses a field "char *name;". */
#define CSTR(func) ((char *) (type < 100 \
? func \
: (type < 200 ? func "f" : func "l")))