From a6ff34d7b0b59a1ad501dca25558ba21f6e539bb Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 4 Dec 1998 20:58:15 +0000 Subject: Update. 1998-12-04 Ulrich Drepper * argp/argp.h: Add __retrict. * dirent/dirent.h: Likewise. * elf/dlfcn.h: Likewise. * grp/grp.h: Likewise. * iconv/iconv.h: Likewise. * inet/aliases.h: Likewise. * libio/libio.h: Likewise. * libio/stdio.h: Likewise. * locale/locale.h: Likewise. * misc/mntent.h: Likewise. * posix/wordexp.h: Likewise. * pwd/pwd.h: Likewise. * resolv/netdb.h: Likewise. * rt/aio.h: Likewise. * stdio-common/printf.h: Likewise. * stdlib/monetary.h: Likewise. * stdlib/stdlib.h: Likewise. * string/argz.h: Likewise. * string/envz.h: Likewise. * string/string.h: Likewise. * time/time.h: Likewise. 1998-12-04 Zack Weinberg * misc/sys/cdefs.h: Only include features.h if _FEATURES_H isn't defined. gcc's redundant include optimizer isn't clever enough to prevent a reinclusion here. Define __restrict to the empty string only if not GCC or GCC version less than 2.92. 1998-12-03 Andreas Schwab * sysdeps/unix/sysv/linux/configure.in: Fix last change. 1998-12-03 Mark Kettenis * time/strptime.c (strptime_internal): Make use of `%C' format specifier if it is seen together with the `%y' specifier. 1998-12-04 Ulrich Drepper * po/sk.po: New file. 1998-12-03 Scott Bambrough * sysdeps/arm/dl-machine.h (dl_start_user): Incorrect address for _dl_main_searchlist passed to _dl_init_next. 1998-12-02 Andreas Schwab * math/libm-test.c: Expand literal tabs in strings. Normalize whitespace. 1998-12-02 Andreas Schwab * sysdeps/unix/sysv/linux/sys/fsuid.h: Fix spelling. --- stdio-common/printf.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'stdio-common') diff --git a/stdio-common/printf.h b/stdio-common/printf.h index 852027ce21..18b2f4ab8a 100644 --- a/stdio-common/printf.h +++ b/stdio-common/printf.h @@ -91,9 +91,9 @@ extern int register_printf_function __P ((int __spec, printf_function __func, array it is passed with the types of the arguments it wants, and return the number of arguments it wants. */ -extern size_t parse_printf_format __P ((__const char *__fmt, +extern size_t parse_printf_format __P ((__const char *__restrict __fmt, size_t __n, - int *__argtypes)); + int *__restrict __argtypes)); /* Codes returned by `parse_printf_format' for basic types. @@ -130,12 +130,14 @@ enum of magnitude used for numbers ('k' for kilo, 'm' for mega etc). If the format specifier is a uppercase character powers of 1000 are used. Otherwise powers of 1024. */ -extern int printf_size __P ((FILE *__fp, __const struct printf_info *__info, - __const void *__const *args)); +extern int printf_size __P ((FILE *__restrict __fp, + __const struct printf_info *__info, + __const void *__const *__restrict __args)); /* This is the appropriate argument information function for `printf_size'. */ -extern int printf_size_info __P ((__const struct printf_info *__info, - size_t __n, int *__argtypes)); +extern int printf_size_info __P ((__const struct printf_info *__restrict + __info, size_t __n, + int *__restrict __argtypes)); __END_DECLS -- cgit v1.2.3