plug-ins: add G_GNUC_PRINTF() to the tiff warning/error functions

This commit is contained in:
Michael Natterer 2014-01-01 19:54:20 +01:00
parent 2ea1c6e9a1
commit 09c8e0cd78
2 changed files with 4 additions and 4 deletions

View File

@ -134,10 +134,10 @@ static void load_paths (TIFF *tif,
static void tiff_warning (const gchar *module,
const gchar *fmt,
va_list ap);
va_list ap) G_GNUC_PRINTF (2, 0);
static void tiff_error (const gchar *module,
const gchar *fmt,
va_list ap);
va_list ap) G_GNUC_PRINTF (2, 0);
static TIFF *tiff_open (const gchar *filename,
const gchar *mode,
GError **error);

View File

@ -130,10 +130,10 @@ static void byte2bit (const guchar *byteline,
static void tiff_warning (const gchar *module,
const gchar *fmt,
va_list ap);
va_list ap) G_GNUC_PRINTF (2, 0);
static void tiff_error (const gchar *module,
const gchar *fmt,
va_list ap);
va_list ap) G_GNUC_PRINTF (2, 0);
static TIFF *tiff_open (const gchar *filename,
const gchar *mode,
GError **error);