diff options
author | Joseph Myers <joseph@codesourcery.com> | 2017-08-07 19:53:17 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2017-08-07 19:53:17 +0000 |
commit | 8b1647877c7f797161dfe1a6b35eab8534d98f9f (patch) | |
tree | 5ef137d0791435214795a0d889599b3ec971d6fd /ChangeLog | |
parent | dd3e86ad7cf5ea1b5a42b7962732f98882c63ff8 (diff) | |
download | glibc-8b1647877c7f797161dfe1a6b35eab8534d98f9f.zip glibc-8b1647877c7f797161dfe1a6b35eab8534d98f9f.tar.gz glibc-8b1647877c7f797161dfe1a6b35eab8534d98f9f.tar.bz2 |
Remove __long_double_t.
sys/cdefs.h has a macro __long_double_t used in two places in glibc.
long double is a standard part of C since C89; there is no need for
such an alias for it. This patch removes that macro and uses long
double directly everywhere. As an implementation-namespace,
undocumented symbol, it should not be considered part of the API for
users, and codesearch.debian.net shows no sign of it being used
outside glibc in a way that would break with this patch.
Tested for x86_64.
* misc/sys/cdefs.h (__long_double_t): Remove.
* stdio-common/printf_fp.c (__printf_fp_l): Use long double
instead of __long_double_t,
* stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,10 @@ +2017-08-07 Joseph Myers <joseph@codesourcery.com> + + * misc/sys/cdefs.h (__long_double_t): Remove. + * stdio-common/printf_fp.c (__printf_fp_l): Use long double + instead of __long_double_t, + * stdlib/strfmon_l.c (__vstrfmon_l): Likewise. + 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org> * benchtests/scripts/compare_strings.py: Avoid display error when |