glibc/sysdeps/ieee754/ldbl-opt/nldbl-asprintf.c
Roland McGrath 926320aba6 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NLDBL_DECL): Don't try
attribute_hidden here.
	* sysdeps/ieee754/ldbl-opt/nldbl-vsyslog.c (vsyslog): Restore
	attribute_hidden here.
	* sysdeps/ieee754/ldbl-opt/nldbl-asprintf.c (__asprintf): Likewise.
	* sysdeps/ieee754/ldbl-opt/nldbl-fprintf.c (fprintf): Likewise.
	* sysdeps/ieee754/ldbl-opt/nldbl-qecvt.c (qecvt): Likewise.
	* sysdeps/ieee754/ldbl-opt/nldbl-qfcvt.c (qfcvt): Likewise.
	* sysdeps/ieee754/ldbl-opt/nldbl-qgcvt.c (qgcvt): Likewise.

	* sysdeps/ieee754/ldbl-opt/configure.in: Use AC_TRY_COMPILE and
	verify __LONG_DOUBLE_128__ predefine.
	* sysdeps/ieee754/ldbl-opt/configure: Regenerated.
2006-01-14 22:08:18 +00:00

18 lines
329 B
C

#include "nldbl-compat.h"
attribute_hidden
int
__asprintf (char **string_ptr, const char *fmt, ...)
{
va_list arg;
int done;
va_start (arg, fmt);
done = __nldbl_vasprintf (string_ptr, fmt, arg);
va_end (arg);
return done;
}
extern __typeof (__asprintf) asprintf attribute_hidden;
weak_alias (__asprintf, asprintf)