diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-11-07 20:46:40 +0100 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-11-07 20:46:40 +0100 |
commit | 8888a37426ff514d68c9b91e5f5185dedde9df4a (patch) | |
tree | 6611c5b5f29c4e5b8a9acf6d856afa9147bee73a | |
parent | ad939b95eb95c7511a371ef7d806ad9bb26453ae (diff) | |
download | sciteco-8888a37426ff514d68c9b91e5f5185dedde9df4a.tar.gz |
let compiler check printf-like arguments
-rw-r--r-- | sciteco.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |