[PATCH] C99 initializers for sysdeps/ieee754/bits/nan.h
Art Haas
ahaas@airmail.net
Sun Dec 15 17:33:00 GMT 2002
Hi.
Another C99 conversion patch.
2002-12-15 Art Haas <ahaas@airmail.net>
* sysdeps/ieee754/bits/nan.h: Convert to C99 initializers.
Index: sysdeps/ieee754/bits/nan.h
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/ieee754/bits/nan.h,v
retrieving revision 1.5
diff -u -r1.5 nan.h
--- sysdeps/ieee754/bits/nan.h 6 Jul 2001 04:55:54 -0000 1.5
+++ sysdeps/ieee754/bits/nan.h 16 Dec 2002 01:32:04 -0000
@@ -29,7 +29,7 @@
# define NAN \
(__extension__ \
((union { unsigned __l __attribute__((__mode__(__SI__))); float __d; }) \
- { __l: 0x7fc00000UL }).__d)
+ { .__l = 0x7fc00000UL }).__d)
#else
--
They that can give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety.
-- Benjamin Franklin, Historical Review of Pennsylvania, 1759
More information about the Libc-alpha
mailing list