Module Name: src Committed By: jakllsch Date: Thu Sep 1 16:30:11 UTC 2016
Modified Files: src/external/bsd/tmux/dist: xmalloc.h Log Message: sprinkle __attribute__((__format__(printf.. To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 src/external/bsd/tmux/dist/xmalloc.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/bsd/tmux/dist/xmalloc.h diff -u src/external/bsd/tmux/dist/xmalloc.h:1.1.1.1 src/external/bsd/tmux/dist/xmalloc.h:1.2 --- src/external/bsd/tmux/dist/xmalloc.h:1.1.1.1 Wed Aug 31 09:04:04 2016 +++ src/external/bsd/tmux/dist/xmalloc.h Thu Sep 1 16:30:11 2016 @@ -32,12 +32,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)));