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/snprintf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libc/stdio/snprintf.c') diff --git a/lib/libc/stdio/snprintf.c b/lib/libc/stdio/snprintf.c index e4cc7fcfea4e..c053ec92e2a7 100644 --- a/lib/libc/stdio/snprintf.c +++ b/lib/libc/stdio/snprintf.c @@ -47,7 +47,7 @@ __FBSDID("$FreeBSD$"); #include "local.h" int -snprintf(char *str, size_t n, char const *fmt, ...) +snprintf(char *__restrict str, size_t n, char const *__restrict fmt, ...) { size_t on; int ret; -- cgit v1.2.3