From c443adeffb3ba92b8e612197dda02dfee9f81338 Mon Sep 17 00:00:00 2001 From: Martin Blanchard Date: Sat, 16 Jan 2016 15:56:09 +0100 Subject: [PATCH] gprintf: Fix documentation regarding g_snprintf() and g_vsnprintf() declarations were moved and don't require gprintf.h to be included anymore but g_vasprintf() is and requires gprintf.h to be explicitly included. https://bugzilla.gnome.org/show_bug.cgi?id=760716 --- glib/gstrfuncs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glib/gstrfuncs.c b/glib/gstrfuncs.c index fbcca14c0..ae052afb0 100644 --- a/glib/gstrfuncs.c +++ b/glib/gstrfuncs.c @@ -64,7 +64,7 @@ * duplicating, and manipulating strings. * * Note that the functions g_printf(), g_fprintf(), g_sprintf(), - * g_snprintf(), g_vprintf(), g_vfprintf(), g_vsprintf() and g_vsnprintf() + * g_vprintf(), g_vfprintf(), g_vsprintf() and g_vasprintf() * are declared in the header `gprintf.h` which is not included in `glib.h` * (otherwise using `glib.h` would drag in `stdio.h`), so you'll have to * explicitly include `` in order to use the GLib