aboutsummaryrefslogtreecommitdiff
path: root/stdlib
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-01-10 20:19:45 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-01-10 20:19:45 +0000
commit828beb132ddf5664cf9971329e8cdcb93dce43af (patch)
treef5ef78a87d896199d8b35b42ee0cb4917b9a3d15 /stdlib
parent034ed64b2cd0aeb4cccd40fb8e7e754e41f2d889 (diff)
downloadglibc-828beb132ddf5664cf9971329e8cdcb93dce43af.zip
glibc-828beb132ddf5664cf9971329e8cdcb93dce43af.tar.gz
glibc-828beb132ddf5664cf9971329e8cdcb93dce43af.tar.bz2
Use __extension__ with long long in installed headers.
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/stdlib.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/stdlib/stdlib.h b/stdlib/stdlib.h
index 6bf708a..41fb7e7 100644
--- a/stdlib/stdlib.h
+++ b/stdlib/stdlib.h
@@ -415,7 +415,8 @@ struct drand48_data
unsigned short int __old_x[3]; /* Old state. */
unsigned short int __c; /* Additive const. in congruential formula. */
unsigned short int __init; /* Flag for initializing. */
- unsigned long long int __a; /* Factor in congruential formula. */
+ __extension__ unsigned long long int __a; /* Factor in congruential
+ formula. */
};
/* Return non-negative, double-precision floating-point value in [0.0,1.0). */