Mercurial > dovecot > core-2.2
changeset 1409:978cd1c0e6b0 HEAD
Added __attr_scanf__
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 28 Apr 2003 19:32:20 +0300 |
parents | 29b56293067b |
children | ccb430d3b945 |
files | src/lib/macros.h |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib/macros.h Mon Apr 28 19:31:59 2003 +0300 +++ b/src/lib/macros.h Mon Apr 28 19:32:20 2003 +0300 @@ -92,6 +92,8 @@ __attribute__((format (printf, format_idx, arg_idx))) # define __attr_format_arg__(arg_idx) \ __attribute__((format_arg (arg_idx))) +# define __attr_scanf__(format_idx, arg_idx) \ + __attribute__((format (scanf, format_idx, arg_idx))) # define __attr_unused__ __attribute__((unused)) # define __attr_noreturn__ __attribute__((noreturn)) # define __attr_const__ __attribute__((const))