wayland: Annotate the log_handler function

The log_handler() internal function is a candidate for the GCC format
attribute for printf-like functions.
This commit is contained in:
Emmanuele Bassi 2017-04-28 23:10:51 +01:00
parent 739588cc3c
commit 2a4f07ed9f

View File

@ -481,6 +481,7 @@ static const struct wl_registry_listener registry_listener = {
gdk_registry_handle_global_remove
};
G_GNUC_PRINTF (1, 0)
static void
log_handler (const char *format, va_list args)
{