aboutsummaryrefslogtreecommitdiffhomepage
path: root/sciteco.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2012-11-07 20:46:40 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2012-11-07 20:46:40 +0100
commit8888a37426ff514d68c9b91e5f5185dedde9df4a (patch)
tree6611c5b5f29c4e5b8a9acf6d856afa9147bee73a /sciteco.h
parentad939b95eb95c7511a371ef7d806ad9bb26453ae (diff)
downloadsciteco-8888a37426ff514d68c9b91e5f5185dedde9df4a.tar.gz
let compiler check printf-like arguments
Diffstat (limited to 'sciteco.h')
-rw-r--r--sciteco.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sciteco.h b/sciteco.h
index 49963c4..f0425d6 100644
--- a/sciteco.h
+++ b/sciteco.h
@@ -13,7 +13,8 @@
extern gchar *cmdline;
extern gint macro_pc;
-void message_display(GtkMessageType type, const gchar *fmt, ...);
+void message_display(GtkMessageType type,
+ const gchar *fmt, ...) G_GNUC_PRINTF(2, 3);
void cmdline_keypress(gchar key);
void cmdline_display(const gchar *cmdline);