diff tools/lib64util.c @ 2383:43e39d9ec42f

Add __attribute__(__format__ ..) specifiers for functions that use printf() style format specifiers.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 09 Jan 2020 14:55:41 +0200
parents 89cb93184175
children 5ffc48a0bebe
line wrap: on
line diff
--- a/tools/lib64util.c	Wed Jan 08 14:59:16 2020 +0200
+++ b/tools/lib64util.c	Thu Jan 09 14:55:41 2020 +0200
@@ -110,6 +110,7 @@
 }
 
 
+__attribute__ ((__format__ (__printf__, 4, 5)))
 static void dmC64ImageDumpLine(FILE *fh, const char *indent, const char *field, const char *fmt, ...)
 {
     va_list ap;