From 907a1bacf996264c3197342cfc565b1d4f840bfb Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 19 Jul 1997 21:18:32 +0000 Subject: Update. 1997-07-19 22:53 Ulrich Drepper * time/africa: Update from tzdata1997g. * time/asia: Likewise. * time/australia: Likewise. * time/europe: Likewise. * time/iso3166.tab: Likewise. * time/zone.tab: Likewise. * time/private.h: Update from tzcode1997f. * time/scheck.c: Likewise. * libio/stdio.h: Declare snprint and vsnprintf for __USE_ISOC9X. * math/math.h: Correct comments. Include always when optimizing. 1997-07-19 10:23 Mark Kettenis * time/getdate.c (__getdate_r): Report failure if string was not completely parsed. (getdate): Set getdate_err on failure. 1997-07-17 Andreas Schwab * include/gnu-versions.h (_GNU_OBSTACK_INTERFACE_VERSION): Synchronize with malloc/obstack.c. 1997-07-16 Miles Bader * sysdeps/mach/hurd/mmap.c (__mmap): Check for !MAP_SHARED rather than MAP_COPY|MAP_PRIVATE, since those values are defined wierdly. Return EACCES rather than EGRATUITOUS if a R/W request isn't writable. 1997-07-15 Marcus G. Daniels * manual/Makefile (INSTALL_INFO): Introduce variable to override path to install-info for systems like Debian that have an install-info with a different command line interface from the canonical GNU texinfo version. 1997-07-15 Andreas Jaeger * sysdeps/posix/ttyname_r.c (__ttyname_r): Correct comment. * posix/unistd.h: Likewise. * sysdeps/stub/ttyname_r.c: Likewise. * sysdeps/unix/sysv/linux/sys/syscall.h: Pretty print. --- libio/stdio.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libio') diff --git a/libio/stdio.h b/libio/stdio.h index a85062d5c2..24e0fa99ba 100644 --- a/libio/stdio.h +++ b/libio/stdio.h @@ -242,7 +242,7 @@ vprintf (const char *__restrict __fmt, _G_va_list __arg) } #endif /* Optimizing. */ -#ifdef __USE_GNU +#if defined __USE_GNU || defined __USE_ISOC9X /* Maximum chars of output to write in MAXLEN. */ extern int __snprintf __P ((char *__s, size_t __maxlen, __const char *__format, ...)); @@ -253,7 +253,9 @@ extern int __vsnprintf __P ((char *__s, size_t __maxlen, __const char *__format, _G_va_list __arg)); extern int vsnprintf __P ((char *__s, size_t __maxlen, __const char *__format, _G_va_list __arg)); +#endif +#ifdef __USE_GNU /* Write formatted output to a string dynamically allocated with `malloc'. Store the address of the string in *PTR. */ extern int vasprintf __P ((char **__ptr, __const char *__f, -- cgit v1.2.3