diff options
author | robert <robert@FreeBSD.org> | 2002-08-15 10:28:52 +0000 |
---|---|---|
committer | robert <robert@FreeBSD.org> | 2002-08-15 10:28:52 +0000 |
commit | eef3b2f04b44c29988bf983329b47c006d27c63d (patch) | |
tree | 489a3958750fd27896cde415ed639eae393d181d /include | |
parent | 4accb821f18b52fbbaf0d1e140d9ad40d85a1b97 (diff) | |
download | FreeBSD-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 'include')
-rw-r--r-- | include/stdio.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/include/stdio.h b/include/stdio.h index 19f6208..d64e690 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -250,14 +250,17 @@ int sscanf(const char *, const char *, ...); FILE *tmpfile(void); char *tmpnam(char *); int ungetc(int, FILE *); -int vfprintf(FILE *, const char *, _BSD_VA_LIST_); -int vprintf(const char *, _BSD_VA_LIST_); -int vsprintf(char *, const char *, _BSD_VA_LIST_); +int vfprintf(FILE *__restrict, const char *__restrict, + _BSD_VA_LIST_); +int vprintf(const char *__restrict, _BSD_VA_LIST_); +int vsprintf(char *__restrict, const char *__restrict, + _BSD_VA_LIST_); #if __ISO_C_VISIBLE >= 1999 -int snprintf(char *__restrict, size_t, const char *__restrict, ...) __printflike(3, 4); -int vsnprintf(char *, size_t, const char *, _BSD_VA_LIST_) - __printflike(3, 0); +int snprintf(char *__restrict, size_t, const char *__restrict, + ...) __printflike(3, 4); +int vsnprintf(char *__restrict, size_t, const char *__restrict, + _BSD_VA_LIST_) __printflike(3, 0); #endif /* |