diff options
author | Eric van Gyzen <vangyzen@FreeBSD.org> | 2016-10-01 23:08:26 +0000 |
---|---|---|
committer | Eric van Gyzen <vangyzen@FreeBSD.org> | 2016-10-01 23:08:26 +0000 |
commit | d6744932a2b5fbba67870e9eb5a3bc155f2a57bf (patch) | |
tree | 2ea813021d20723f9d721b22a430af8d8925b5e8 /include/stdio.h | |
parent | 21ac7a7f75a932108ddf3eb34d9632f463e2ad37 (diff) | |
download | src-test2-d6744932a2b5fbba67870e9eb5a3bc155f2a57bf.tar.gz src-test2-d6744932a2b5fbba67870e9eb5a3bc155f2a57bf.zip |
Add the __printflike attribute to the declaration of vdprintf(3)
I intended to add this in r306568.
MFC after: 3 days
Sponsored by: Dell EMC
Notes
Notes:
svn path=/head/; revision=306569
Diffstat (limited to 'include/stdio.h')
-rw-r--r-- | include/stdio.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stdio.h b/include/stdio.h index 862bc8e8c25a..5950625ec2f6 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); /* _WITH_GETLINE to allow pre 11 sources to build on 11+ systems */ ssize_t getline(char ** __restrict, size_t * __restrict, FILE * __restrict); int dprintf(int, const char * __restrict, ...) __printflike(2, 3); |