diff options
author | Ulrich Drepper <drepper@redhat.com> | 1999-10-09 21:56:43 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1999-10-09 21:56:43 +0000 |
commit | c1422e5b7cdb4400f934c91bcefa3a1a96d789fb (patch) | |
tree | 7f8981b86c4ce4b5bb899f690eeb03d6645826a5 /stdio-common | |
parent | a4a1492eb94de4f5c5ec84a5898e994fca5f317b (diff) | |
download | glibc-c1422e5b7cdb4400f934c91bcefa3a1a96d789fb.tar.gz glibc-c1422e5b7cdb4400f934c91bcefa3a1a96d789fb.tar.xz glibc-c1422e5b7cdb4400f934c91bcefa3a1a96d789fb.zip |
Update.
Patch by khendricks@ivey.uwo.ca [libc/1382].
Diffstat (limited to 'stdio-common')
-rw-r--r-- | stdio-common/_itoa.h | 6 | ||||
-rw-r--r-- | stdio-common/_itowa.h | 4 | ||||
-rw-r--r-- | stdio-common/printf.h | 32 |
3 files changed, 20 insertions, 22 deletions
diff --git a/stdio-common/_itoa.h b/stdio-common/_itoa.h index 976636907d..f7e5e6d202 100644 --- a/stdio-common/_itoa.h +++ b/stdio-common/_itoa.h @@ -1,5 +1,5 @@ /* Internal function for converting integers to ASCII. - Copyright (C) 1994, 1995, 1996, 1997, 1998 Free Software Foundation, Inc. + Copyright (C) 1994, 95, 96, 97, 98, 99 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -26,8 +26,8 @@ Return the address of the first (left-to-right) character in the number. Use upper case letters iff UPPER_CASE is nonzero. */ -extern char *_itoa __P ((unsigned long long int value, char *buflim, - unsigned int base, int upper_case)); +extern char *_itoa (unsigned long long int value, char *buflim, + unsigned int base, int upper_case); static inline char * __attribute__ ((unused)) _itoa_word (unsigned long value, char *buflim, diff --git a/stdio-common/_itowa.h b/stdio-common/_itowa.h index e219f298ee..7ce5e4dde3 100644 --- a/stdio-common/_itowa.h +++ b/stdio-common/_itowa.h @@ -27,8 +27,8 @@ Return the address of the first (left-to-right) character in the number. Use upper case letters iff UPPER_CASE is nonzero. */ -extern wchar_t *_itowa __P ((unsigned long long int value, wchar_t *buflim, - unsigned int base, int upper_case)); +extern wchar_t *_itowa (unsigned long long int value, wchar_t *buflim, + unsigned int base, int upper_case); static inline wchar_t * __attribute__ ((unused)) diff --git a/stdio-common/printf.h b/stdio-common/printf.h index 66ac5d0742..755f652ec2 100644 --- a/stdio-common/printf.h +++ b/stdio-common/printf.h @@ -60,25 +60,24 @@ struct printf_info The function should return the number of characters written, or -1 for errors. */ -typedef int printf_function __PMT ((FILE *__stream, - __const struct printf_info *__info, - __const void *__const *__args)); +typedef int printf_function (FILE *__stream, + __const struct printf_info *__info, + __const void *__const *__args); /* Type of a printf specifier-arginfo function. INFO gives information about the format specification. N, ARGTYPES, and return value are as for printf_parse_format. */ -typedef int printf_arginfo_function __PMT ((__const struct printf_info *__info, - size_t __n, - int *__argtypes)); +typedef int printf_arginfo_function (__const struct printf_info *__info, + size_t __n, int *__argtypes); /* Register FUNC to be called to format SPEC specifiers; ARGINFO must be specified to determine how many arguments a SPEC conversion requires and what their types are. */ -extern int register_printf_function __P ((int __spec, printf_function __func, - printf_arginfo_function __arginfo)); +extern int register_printf_function (int __spec, printf_function __func, + printf_arginfo_function __arginfo); /* Parse FMT, and fill in N elements of ARGTYPES with the @@ -92,9 +91,8 @@ 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 *__restrict __fmt, - size_t __n, - int *__restrict __argtypes)); +extern size_t parse_printf_format (__const char *__restrict __fmt, size_t __n, + int *__restrict __argtypes) __THROW; /* Codes returned by `parse_printf_format' for basic types. @@ -131,14 +129,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 *__restrict __fp, - __const struct printf_info *__info, - __const void *__const *__restrict __args)); +extern int printf_size (FILE *__restrict __fp, + __const struct printf_info *__info, + __const void *__const *__restrict __args) __THROW; /* This is the appropriate argument information function for `printf_size'. */ -extern int printf_size_info __P ((__const struct printf_info *__restrict - __info, size_t __n, - int *__restrict __argtypes)); +extern int printf_size_info (__const struct printf_info *__restrict + __info, size_t __n, int *__restrict __argtypes) + __THROW; __END_DECLS |