summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/vsprintf.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/vsprintf.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/vsprintf.c')
-rw-r--r--lib/libc/stdio/vsprintf.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/libc/stdio/vsprintf.c b/lib/libc/stdio/vsprintf.c
index 3f92fcd..b66b7c8 100644
--- a/lib/libc/stdio/vsprintf.c
+++ b/lib/libc/stdio/vsprintf.c
@@ -45,10 +45,7 @@ __FBSDID("$FreeBSD$");
#include "local.h"
int
-vsprintf(str, fmt, ap)
- char *str;
- const char *fmt;
- _BSD_VA_LIST_ ap;
+vsprintf(char *__restrict str, const char *__restrict fmt, _BSD_VA_LIST_ ap)
{
int ret;
FILE f;
OpenPOWER on IntegriCloud