about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-12-29 18:00:11 +0000
committerUlrich Drepper <drepper@redhat.com>2005-12-29 18:00:11 +0000
commit099cf5dba2c908f77561629a03bd6fac5e4cdd3a (patch)
tree2b641666c07fc49bba3b2a93e243769907470d2d
parent8b4f1598232f1572d778e0e558aaad273c38356b (diff)
downloadglibc-099cf5dba2c908f77561629a03bd6fac5e4cdd3a.tar.gz
glibc-099cf5dba2c908f77561629a03bd6fac5e4cdd3a.tar.xz
glibc-099cf5dba2c908f77561629a03bd6fac5e4cdd3a.zip
* stdio-common/tstdiomisc.c [FLT_EVAL_METHOD!=2] (dbl_max):
	Defining as macro as before the last change.
-rw-r--r--ChangeLog3
-rw-r--r--stdio-common/tstdiomisc.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index d15c540fab..eacf7e1598 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2005-12-29  Ulrich Drepper  <drepper@redhat.com>
 
+	* stdio-common/tstdiomisc.c [FLT_EVAL_METHOD!=2] (dbl_max):
+	Defining as macro as before the last change.
+
 	* sysdeps/unix/sysv/linux/sigaction.c: If WRAPPER_INCLUDE is defined,
 	include the named file.
 	* sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
diff --git a/stdio-common/tstdiomisc.c b/stdio-common/tstdiomisc.c
index 9aade2b1a7..e89487cb45 100644
--- a/stdio-common/tstdiomisc.c
+++ b/stdio-common/tstdiomisc.c
@@ -51,7 +51,7 @@ volatile long double dbl_max = LDBL_MAX;
 # define FLT_FLT_FMT "%Lf %LF"
 # define FLT_FLT_WFMT L"%Lf %LF"
 #else
-volatile double dbl_max = DBL_MAX;
+# define dbl_max DBL_MAX
 # define FLT_FLT_FMT "%f %F"
 # define FLT_FLT_WFMT L"%f %F"
 #endif