Overlay/mail-client/mail-notification/files/mail-notification-jb-gcc-fo...

16 lines
668 B
Diff

Index: epienbroek-mail-notification-eab5c13/jbsrc/lib/src/core/jb-util.c
===================================================================
--- epienbroek-mail-notification-eab5c13.orig/jbsrc/lib/src/core/jb-util.c
+++ epienbroek-mail-notification-eab5c13/jbsrc/lib/src/core/jb-util.c
@@ -208,6 +208,10 @@ jb_message_result_string_format (const c
g_free(message);
}
+#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ > 4)
+static void print_warning_or_error (const char *prefix, const char *format, va_list args) __attribute__ ((format(printf, 1, 0)));
+#endif
+
static void
print_warning_or_error (const char *prefix, const char *format, va_list args)
{