summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/vfprintf.c
diff options
context:
space:
mode:
authorrobert <robert@FreeBSD.org>2002-08-15 10:28:52 +0000
committerrobert <robert@FreeBSD.org>2002-08-15 10:28:52 +0000
commiteef3b2f04b44c29988bf983329b47c006d27c63d (patch)
tree489a3958750fd27896cde415ed639eae393d181d /lib/libc/stdio/vfprintf.c
parent4accb821f18b52fbbaf0d1e140d9ad40d85a1b97 (diff)
downloadFreeBSD-src-eef3b2f04b44c29988bf983329b47c006d27c63d.zip
FreeBSD-src-eef3b2f04b44c29988bf983329b47c006d27c63d.tar.gz
- For compliance with IEEE Std 1003.1-2001, add the 'restrict'
qualifier to function prototypes and definitions where appropriate using the '__restrict' macro. - Update the manual page.
Diffstat (limited to 'lib/libc/stdio/vfprintf.c')
-rw-r--r--lib/libc/stdio/vfprintf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/stdio/vfprintf.c b/lib/libc/stdio/vfprintf.c
index b158bc0..91bbe00 100644
--- a/lib/libc/stdio/vfprintf.c
+++ b/lib/libc/stdio/vfprintf.c
@@ -332,7 +332,8 @@ __ujtoa(uintmax_t val, char *endp, int base, int octzero, char *xdigs,
* MT-safe version
*/
int
-vfprintf(FILE *fp, const char *fmt0, va_list ap)
+vfprintf(FILE *__restrict fp, const char *__restrict fmt0, va_list ap)
+
{
int ret;
OpenPOWER on IntegriCloud