summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/snprintf.c
diff options
context:
space:
mode:
authorrobert <robert@FreeBSD.org>2002-08-15 09:47:10 +0000
committerrobert <robert@FreeBSD.org>2002-08-15 09:47:10 +0000
commit4accb821f18b52fbbaf0d1e140d9ad40d85a1b97 (patch)
tree93309c791a798a5bcab0fbe9d6f7ff2aaf3301e6 /lib/libc/stdio/snprintf.c
parent043ed1f5818681c934c1f781e5c12082c79b771c (diff)
downloadFreeBSD-src-4accb821f18b52fbbaf0d1e140d9ad40d85a1b97.zip
FreeBSD-src-4accb821f18b52fbbaf0d1e140d9ad40d85a1b97.tar.gz
- Introduce the 'restrict' qualifier to function prototypes and
definitions to comply with IEEE Std 1003.1-2001. - Update the manual pages.
Diffstat (limited to 'lib/libc/stdio/snprintf.c')
-rw-r--r--lib/libc/stdio/snprintf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdio/snprintf.c b/lib/libc/stdio/snprintf.c
index e4cc7fc..c053ec9 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;
OpenPOWER on IntegriCloud