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/vsnprintf.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/vsnprintf.c')
-rw-r--r-- | lib/libc/stdio/vsnprintf.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/libc/stdio/vsnprintf.c b/lib/libc/stdio/vsnprintf.c index 18b5e5c..eae9adc 100644 --- a/lib/libc/stdio/vsnprintf.c +++ b/lib/libc/stdio/vsnprintf.c @@ -45,11 +45,8 @@ __FBSDID("$FreeBSD$"); #include "local.h" int -vsnprintf(str, n, fmt, ap) - char *str; - size_t n; - const char *fmt; - _BSD_VA_LIST_ ap; +vsnprintf(char *__restrict str, size_t n, const char *__restrict fmt, + _BSD_VA_LIST_ ap) { size_t on; int ret; |