From 8b1647877c7f797161dfe1a6b35eab8534d98f9f Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Mon, 7 Aug 2017 19:53:17 +0000 Subject: 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. --- stdlib/strfmon_l.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stdlib') diff --git a/stdlib/strfmon_l.c b/stdlib/strfmon_l.c index 69ca9d5..98554df 100644 --- a/stdlib/strfmon_l.c +++ b/stdlib/strfmon_l.c @@ -100,7 +100,7 @@ __vstrfmon_l (char *s, size_t maxsize, locale_t loc, const char *format, union { double dbl; - __long_double_t ldbl; + long double ldbl; } fpnum; int int_format; -- cgit v1.1