From 27a5bb33ac41b838dd3c4ebdc3a75a6ad666dfc7 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 7 Apr 1998 16:28:09 +0000 Subject: Update. 1998-04-07 16:18 Ulrich Drepper * libc.map: Add __asprintf to GLIBC_2.1. * elf/dlerror.c: Use __asprintf, not asprintf. * libio/stdio.h: Declare __asprintf. * stdio-common/asprintf.c: Define as __asprintf and make asprintf a weak alias. * elf/dl-minimal.c: Add definition of strtol and strtoul (und friends) to avoid inclusion from libc_pic.a. * elf/dl-runtime.c: Undo last patch. * stdlib/strtod.c: Don't use mbtowc, use btowc. * sysdeps/i386/dl-machine.h (dl_platform_init): Don't use "i386" as default, use NULL. --- libio/stdio.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libio/stdio.h') diff --git a/libio/stdio.h b/libio/stdio.h index 4803470c81..76e4fac885 100644 --- a/libio/stdio.h +++ b/libio/stdio.h @@ -310,6 +310,9 @@ extern int vsnprintf __P ((char *__restrict __s, size_t __maxlen, extern int vasprintf __P ((char **__restrict __ptr, __const char *__restrict __f, _G_va_list __arg)) __attribute__ ((__format__ (__printf__, 2, 0))); +extern int __asprintf __P ((char **__restrict __ptr, + __const char *__restrict __fmt, ...)) + __attribute__ ((__format__ (__printf__, 2, 3))); extern int asprintf __P ((char **__restrict __ptr, __const char *__restrict __fmt, ...)) __attribute__ ((__format__ (__printf__, 2, 3))); -- cgit v1.2.3