aboutsummaryrefslogtreecommitdiffstats
path: root/main_statusbar.h
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2010-11-28 00:02:39 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2010-11-28 00:02:39 +0000
commita076a568387986c1d3ff0bc71192b64a56d5c2f3 (patch)
tree9e776ec58c602c27431f4808859597dc657a2f29 /main_statusbar.h
parent49a11ca38e52ea66220ef62a16407a353f97962a (diff)
Add GCC-style printf annotation to the routines that now take a format
string and format arguments, and fix issues warned about by that. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35044 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'main_statusbar.h')
-rw-r--r--main_statusbar.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/main_statusbar.h b/main_statusbar.h
index 92ecd27c44..a15aa4e158 100644
--- a/main_statusbar.h
+++ b/main_statusbar.h
@@ -34,7 +34,8 @@ void status_expert_update(void);
*
* @param msg_format The format string for the message
*/
-void statusbar_push_field_msg(const gchar *msg_format, ...);
+void statusbar_push_field_msg(const gchar *msg_format, ...)
+ G_GNUC_PRINTF(1, 2);
/** Pop a message referring to the currently-selected field off the statusbar.
*/
@@ -45,7 +46,8 @@ void statusbar_pop_field_msg(void);
*
* @param msg_format The format string for the message
*/
-void statusbar_push_filter_msg(const gchar *msg_format, ...);
+void statusbar_push_filter_msg(const gchar *msg_format, ...)
+ G_GNUC_PRINTF(1, 2);
/** Pop a message referring to the current filter off the statusbar.
*/
@@ -56,6 +58,7 @@ void statusbar_pop_filter_msg(void);
*
* @param msg_format The format string for the message
*/
-void statusbar_push_temporary_msg(const gchar *msg_format, ...);
+void statusbar_push_temporary_msg(const gchar *msg_format, ...)
+ G_GNUC_PRINTF(1, 2);
#endif /* __MAIN_STATUSBAR_H__ */