summaryrefslogtreecommitdiff
path: root/ui/simple_dialog.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2015-07-03 19:38:54 -0700
committerGuy Harris <guy@alum.mit.edu>2015-07-04 02:39:18 +0000
commitc6f41124af3ecc1b9accb734504de03b474e5172 (patch)
tree2a31c4b478fff9ef1263043cf686a210d1514444 /ui/simple_dialog.h
parentb8d96a45b763cd2e227b325dbc12e1f811b290b0 (diff)
downloadwireshark-c6f41124af3ecc1b9accb734504de03b474e5172.tar.gz
Do error checking on simple_error_message_box() calls and fix errors.
It's a printf-like routine, so give it the right declaration. Fix errors that this finds. Change-Id: I7e8c100ff9e16ba89743ce744cbf548aae705b77 Reviewed-on: https://code.wireshark.org/review/9487 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'ui/simple_dialog.h')
-rw-r--r--ui/simple_dialog.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/simple_dialog.h b/ui/simple_dialog.h
index cd42c7a074..ed4139a8a3 100644
--- a/ui/simple_dialog.h
+++ b/ui/simple_dialog.h
@@ -125,7 +125,7 @@ extern void vsimple_error_message_box(const char *msg_format, va_list ap);
/*
* Error alert box, taking a format and a list of arguments.
*/
-extern void simple_error_message_box(const char *msg_format, ...);
+extern void simple_error_message_box(const char *msg_format, ...) G_GNUC_PRINTF(1, 2);
#ifdef __cplusplus
}