libbluray | branch: master | hpi1 <[email protected]> | Wed Jan 23 11:13:28 2013 +0200| [19328f70109b0d68114f7c6cd0f3a4a4e64c79b3] | committer: hpi1
Mark ident_printf printf -like function so that compiler can check arguments > http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=19328f70109b0d68114f7c6cd0f3a4a4e64c79b3 --- src/examples/util.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/examples/util.h b/src/examples/util.h index 56d987b..8a3917c 100644 --- a/src/examples/util.h +++ b/src/examples/util.h @@ -19,6 +19,8 @@ #include <stdint.h> +#include "../util/attributes.h" + #if defined( __MINGW32__ ) # undef lseek # define lseek _lseeki64 @@ -38,5 +40,5 @@ #endif void hex_dump(uint8_t *buf, int count); -void indent_printf(int level, const char *fmt, ...); +void indent_printf(int level, const char *fmt, ...) BD_ATTR_FORMAT_PRINTF(2,3); _______________________________________________ libbluray-devel mailing list [email protected] http://mailman.videolan.org/listinfo/libbluray-devel
