summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/vprintf.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/vprintf.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/vprintf.c')
-rw-r--r--lib/libc/stdio/vprintf.c5
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));
}
OpenPOWER on IntegriCloud