aboutsummaryrefslogtreecommitdiffstats
path: root/util.h
diff options
context:
space:
mode:
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>1998-10-12 01:40:57 +0000
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>1998-10-12 01:40:57 +0000
commit2703adf236f8067abec13db48e24a46ca9bf813a (patch)
treef57ee7de708d072038153022c1ccbd9afa448651 /util.h
parentc72e3426600d68f5222957ad834e010bdb43fed5 (diff)
- Added match_strval function to packet.c
- Separated display and capture filters; rearranged some of the look and feel - Lots of other miscellaneous fixes and updates git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'util.h')
-rw-r--r--util.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/util.h b/util.h
index 140722a2a6..be49685e0e 100644
--- a/util.h
+++ b/util.h
@@ -1,7 +1,7 @@
/* util.h
* Utility definitions
*
- * $Id: util.h,v 1.3 1998/09/27 22:12:46 gerald Exp $
+ * $Id: util.h,v 1.4 1998/10/12 01:40:57 gerald Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -39,7 +39,13 @@ extern "C" {
#define ESD_BTN_OK 0
#define ESD_BTN_CANCEL 1
-void simple_dialog(gint, gint *, gchar *);
+#if __GNUC__ == 2
+void simple_dialog(gint, gint *, gchar *, ...)
+ __attribute__((format (printf, 3, 4)));
+#else
+void simple_dialog(gint, gint *, gchar *, ...);
+#endif
+
void simple_dialog_cancel_cb(GtkWidget *, gpointer);
#ifdef __cplusplus