mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-06 16:40:47 +00:00
Add the __printflike attribute to the declaration of dprintf(3)
MFC after: 3 days Sponsored by: Dell EMC
This commit is contained in:
parent
fb6ddd454a
commit
21ac7a7f75
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=306568
|
@ -359,7 +359,7 @@ int renameat(int, const char *, int, const char *);
|
|||
int vdprintf(int, const char * __restrict, __va_list);
|
||||
/* _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, ...);
|
||||
int dprintf(int, const char * __restrict, ...) __printflike(2, 3);
|
||||
#endif /* __POSIX_VISIBLE >= 200809 */
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue