From 71a00a449fdf93f68bc8357bb412ff94b653e30d Mon Sep 17 00:00:00 2001 From: Robert Drehmel Date: Thu, 15 Aug 2002 09:47:10 +0000 Subject: - Introduce the 'restrict' qualifier to function prototypes and definitions to comply with IEEE Std 1003.1-2001. - Update the manual pages. --- lib/libc/stdio/sprintf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libc/stdio/sprintf.c') diff --git a/lib/libc/stdio/sprintf.c b/lib/libc/stdio/sprintf.c index e2511d64f8b3..71279baaf9ad 100644 --- a/lib/libc/stdio/sprintf.c +++ b/lib/libc/stdio/sprintf.c @@ -46,7 +46,7 @@ __FBSDID("$FreeBSD$"); #include "local.h" int -sprintf(char *str, char const *fmt, ...) +sprintf(char *__restrict str, char const *__restrict fmt, ...) { int ret; va_list ap; -- cgit v1.3