summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/printf.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/printf.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/printf.c')
-rw-r--r--lib/libc/stdio/printf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdio/printf.c b/lib/libc/stdio/printf.c
index bd7d16c..1aa2767 100644
--- a/lib/libc/stdio/printf.c
+++ b/lib/libc/stdio/printf.c
@@ -44,7 +44,7 @@ __FBSDID("$FreeBSD$");
#include <stdarg.h>
int
-printf(char const *fmt, ...)
+printf(char const *__restrict fmt, ...)
{
int ret;
va_list ap;
OpenPOWER on IntegriCloud