diff options
author | robert <robert@FreeBSD.org> | 2002-08-15 10:28:52 +0000 |
---|---|---|
committer | robert <robert@FreeBSD.org> | 2002-08-15 10:28:52 +0000 |
commit | eef3b2f04b44c29988bf983329b47c006d27c63d (patch) | |
tree | 489a3958750fd27896cde415ed639eae393d181d /lib/libc/stdio/vprintf.c | |
parent | 4accb821f18b52fbbaf0d1e140d9ad40d85a1b97 (diff) | |
download | FreeBSD-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/vprintf.c')
-rw-r--r-- | lib/libc/stdio/vprintf.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libc/stdio/vprintf.c b/lib/libc/stdio/vprintf.c index ad38b45..1f293d6 100644 --- a/lib/libc/stdio/vprintf.c +++ b/lib/libc/stdio/vprintf.c @@ -43,9 +43,8 @@ __FBSDID("$FreeBSD$"); #include <stdio.h> int -vprintf(fmt, ap) - char const *fmt; - _BSD_VA_LIST_ ap; +vprintf(const char *__restrict fmt, _BSD_VA_LIST_ ap) { + return (vfprintf(stdout, fmt, ap)); } |