[dovecot-cvs] dovecot/src/lib macros.h,1.13,1.14
cras at procontrol.fi
cras at procontrol.fi
Mon Apr 28 20:32:22 EEST 2003
Update of /home/cvs/dovecot/src/lib
In directory danu:/tmp/cvs-serv27408
Modified Files:
macros.h
Log Message:
Added __attr_scanf__
Index: macros.h
===================================================================
RCS file: /home/cvs/dovecot/src/lib/macros.h,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- macros.h 30 Jan 2003 17:51:32 -0000 1.13
+++ macros.h 28 Apr 2003 16:32:20 -0000 1.14
@@ -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))
More information about the dovecot-cvs
mailing list