Merge branch 'backport-1718-clang-fix-glib-2-66' into 'glib-2-66'

Backport !1718 “gtrace: Add G_GNUC_PRINTF annotation” to glib-2-66

See merge request GNOME/glib!1720
This commit is contained in:
Emmanuele Bassi 2020-10-23 15:53:03 +00:00
commit cea485ac00

View File

@ -54,7 +54,7 @@ void (g_trace_mark) (gint64 begin_time_nsec,
const gchar *group,
const gchar *name,
const gchar *message_format,
...);
...) G_GNUC_PRINTF (5, 6);
#ifndef HAVE_SYSPROF
/* Optimise the whole call out */