Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / devel / glib2 / patches / patch-glib_gstrfuncs.c
bloba3356d1472fe7f79c9ebe35d82634e6c41325ffc
1 $NetBSD$
3 --- glib/gstrfuncs.c.orig 2013-04-23 20:34:39.000000000 +0000
4 +++ glib/gstrfuncs.c
5 @@ -892,6 +892,8 @@ g_ascii_dtostr (gchar *buffer,
7 * Return value: The pointer to the buffer with the converted string.
8 */
9 +#pragma GCC diagnostic push
10 +#pragma GCC diagnostic ignored "-Wformat-nonliteral"
11 gchar *
12 g_ascii_formatd (gchar *buffer,
13 gint buf_len,
14 @@ -974,6 +976,7 @@ g_ascii_formatd (gchar *buffer,
15 return buffer;
16 #endif
18 +#pragma GCC diagnostic pop
20 #define ISSPACE(c) ((c) == ' ' || (c) == '\f' || (c) == '\n' || \
21 (c) == '\r' || (c) == '\t' || (c) == '\v')