[byzanz] Make gcc stop complaining
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [byzanz] Make gcc stop complaining
- Date: Tue, 19 Mar 2013 17:01:16 +0000 (UTC)
commit 221ba1e5530f6306279a97d411bac6d1407999ea
Author: Benjamin Otte <otte redhat com>
Date: Mon Mar 18 18:36:35 2013 +0100
Make gcc stop complaining
... about printf functions
src/byzanzapplet.c | 2 ++
src/record.c | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/byzanzapplet.c b/src/byzanzapplet.c
index 13cab46..9efe320 100644
--- a/src/byzanzapplet.c
+++ b/src/byzanzapplet.c
@@ -55,6 +55,8 @@ typedef struct {
/*** PENDING RECORDING ***/
static void
+byzanz_applet_show_error (AppletPrivate *priv, const char *error, const char *details, ...) G_GNUC_PRINTF
(3, 4);
+static void
byzanz_applet_show_error (AppletPrivate *priv, const char *error, const char *details, ...)
{
GtkWidget *dialog, *parent;
diff --git a/src/record.c b/src/record.c
index 5c83b01..b2565f8 100644
--- a/src/record.c
+++ b/src/record.c
@@ -47,6 +47,8 @@ static GOptionEntry entries[] =
};
static void
+verbose_print (const gchar *format, ...) G_GNUC_PRINTF (1, 2);
+static void
verbose_print (const gchar *format, ...)
{
gchar *buffer;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]