mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 07:56:17 +01:00
Add printf attribute
This fixes a compiler warning when using -Wmissing-format-attribute. https://bugzilla.gnome.org/show_bug.cgi?id=698521
This commit is contained in:
parent
273178600c
commit
55efc6e90e
3
gdump.c
3
gdump.c
@ -37,6 +37,9 @@
|
|||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
static void
|
||||||
|
escaped_printf (GOutputStream *out, const char *fmt, ...) G_GNUC_PRINTF (2, 3);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
escaped_printf (GOutputStream *out, const char *fmt, ...)
|
escaped_printf (GOutputStream *out, const char *fmt, ...)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user