[test-paint] Use G_GNUC_PRINTF

This commit is contained in:
Behdad Esfahbod 2023-01-17 06:29:17 -07:00
parent 92d5ec2f16
commit c86bab3fb4
1 changed files with 1 additions and 3 deletions

View File

@ -54,9 +54,7 @@ typedef struct {
GString *string; GString *string;
} paint_data_t; } paint_data_t;
#ifndef _MSC_VER static void print (paint_data_t *data, const char *format, ...) G_GNUC_PRINTF (2, 3);
static void print (paint_data_t *data, const char *format, ...) __attribute__((format (printf, 2, 3)));
#endif
static void static void
print (paint_data_t *data, print (paint_data_t *data,