diff options
| author | Eric van Gyzen <vangyzen@FreeBSD.org> | 2016-10-08 14:07:34 +0000 |
|---|---|---|
| committer | Eric van Gyzen <vangyzen@FreeBSD.org> | 2016-10-08 14:07:34 +0000 |
| commit | 3610dd844894137b7232138a137e0fe43af91e65 (patch) | |
| tree | 69f56b449364693f8ed1a1f3208db81d2ac261ab /include/stdio.h | |
| parent | d089375975112e13ba245961f52f9c99666f1181 (diff) | |
Notes
Diffstat (limited to 'include/stdio.h')
| -rw-r--r-- | include/stdio.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/stdio.h b/include/stdio.h index f16f64471478..7b7980eb9128 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -356,7 +356,7 @@ ssize_t getdelim(char ** __restrict, size_t * __restrict, int, FILE * __restrict); FILE *open_memstream(char **, size_t *); int renameat(int, const char *, int, const char *); -int vdprintf(int, const char * __restrict, __va_list); +int vdprintf(int, const char * __restrict, __va_list) __printflike(2, 0); /* * Every programmer and his dog wrote functions called getline() and dprintf() @@ -392,7 +392,7 @@ ssize_t getline(char ** __restrict, size_t * __restrict, FILE * __restrict); #endif #ifdef _WITH_DPRINTF -int (dprintf)(int, const char * __restrict, ...); +int (dprintf)(int, const char * __restrict, ...) __printflike(2, 3); #endif #endif /* __POSIX_VISIBLE >= 200809 */ |
