aboutsummaryrefslogtreecommitdiffstats
path: root/simple_dialog.h
diff options
context:
space:
mode:
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2010-01-25 13:20:53 +0000
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2010-01-25 13:20:53 +0000
commit19151755420ae1485ee59b2f5413de0abae0e5ac (patch)
tree6c904aeedae6571117daa533cd89b73688cac3bd /simple_dialog.h
parent54b41eb42aa25864407250c78c09dbd59cc648c7 (diff)
Changed from using own defined GNUC_FORMAT_CHECK to G_GNUC_PRINTF
defined in GLib. Removed epan/gnuc_format_check.h. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31657 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'simple_dialog.h')
-rw-r--r--simple_dialog.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/simple_dialog.h b/simple_dialog.h
index 1b503e9405..ea7355b80d 100644
--- a/simple_dialog.h
+++ b/simple_dialog.h
@@ -26,8 +26,6 @@
#ifndef __DIALOG_H__
#define __DIALOG_H__
-#include <epan/gnuc_format_check.h>
-
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
@@ -89,7 +87,7 @@ typedef enum {
*/
extern gpointer simple_dialog(ESD_TYPE_E type, gint btn_mask,
const gchar *msg_format, ...)
- GNUC_FORMAT_CHECK(printf, 3, 4);
+ G_GNUC_PRINTF(3, 4);
/** Create and show a simple dialog using a va_list.
*
@@ -166,7 +164,7 @@ extern void display_queued_messages(void);
* @param msg Status message
*/
extern void simple_status(const gchar *msg_format, ...)
- GNUC_FORMAT_CHECK(printf, 1, 2);
+ G_GNUC_PRINTF(1, 2);