mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Fix up some printflike attributes.
This commit is contained in:
@ -30,12 +30,14 @@ int xasprintf(char **, const char *, ...)
|
||||
__attribute__((__format__ (printf, 2, 3)))
|
||||
__attribute__((__nonnull__ (2)));
|
||||
int xvasprintf(char **, const char *, va_list)
|
||||
__attribute__((__format__ (printf, 2, 0)))
|
||||
__attribute__((__nonnull__ (2)));
|
||||
int xsnprintf(char *, size_t, const char *, ...)
|
||||
__attribute__((__format__ (printf, 3, 4)))
|
||||
__attribute__((__nonnull__ (3)))
|
||||
__attribute__((__bounded__ (__string__, 1, 2)));
|
||||
int xvsnprintf(char *, size_t, const char *, va_list)
|
||||
__attribute__((__format__ (printf, 3, 0)))
|
||||
__attribute__((__nonnull__ (3)))
|
||||
__attribute__((__bounded__ (__string__, 1, 2)));
|
||||
|
||||
|
Reference in New Issue
Block a user