[gimp] plug-ins: add G_GNUC_PRINTF() to the tiff warning/error functions
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] plug-ins: add G_GNUC_PRINTF() to the tiff warning/error functions
- Date: Wed, 1 Jan 2014 18:55:18 +0000 (UTC)
commit 09c8e0cd78ec1d050ed8499afe4824832659a1ae
Author: Michael Natterer <mitch gimp org>
Date: Wed Jan 1 19:54:20 2014 +0100
plug-ins: add G_GNUC_PRINTF() to the tiff warning/error functions
plug-ins/common/file-tiff-load.c | 4 ++--
plug-ins/common/file-tiff-save.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/plug-ins/common/file-tiff-load.c b/plug-ins/common/file-tiff-load.c
index 5a694b0..b30ee77 100644
--- a/plug-ins/common/file-tiff-load.c
+++ b/plug-ins/common/file-tiff-load.c
@@ -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);
diff --git a/plug-ins/common/file-tiff-save.c b/plug-ins/common/file-tiff-save.c
index 3b0c4a8..fab5120 100644
--- a/plug-ins/common/file-tiff-save.c
+++ b/plug-ins/common/file-tiff-save.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]