aboutsummaryrefslogtreecommitdiffstats
path: root/epan/column-utils.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-07-22 10:25:50 +0000
committerGuy Harris <guy@alum.mit.edu>2001-07-22 10:25:50 +0000
commitcc21ec8124253913242f0c748126582f7eba5999 (patch)
tree2389a626b6b9742b36c48950765bf32ef9bf806d /epan/column-utils.h
parent6287e86539fe79adfe1f9e2899c4fda749dc4b25 (diff)
Do __attribute__ stuff if the GCC version number is greater than or
equal to 2, not just if it's equal to 2 - GCC 3.0 makes it 3, not 2.... svn path=/trunk/; revision=3765
Diffstat (limited to 'epan/column-utils.h')
-rw-r--r--epan/column-utils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/column-utils.h b/epan/column-utils.h
index 025ecc0b33..0a5f8c1286 100644
--- a/epan/column-utils.h
+++ b/epan/column-utils.h
@@ -1,7 +1,7 @@
/* column-utils.h
* Definitions for column utility structures and routines
*
- * $Id: column-utils.h,v 1.1 2001/04/01 07:32:35 hagbard Exp $
+ * $Id: column-utils.h,v 1.2 2001/07/22 10:25:49 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -45,7 +45,7 @@ void col_set_writable(frame_data *fd, gboolean writable);
gint check_col(frame_data *, gint);
void col_clear(frame_data *, gint);
void col_set_str(frame_data *, gint, gchar *);
-#if __GNUC__ == 2
+#if __GNUC__ >= 2
void col_add_fstr(frame_data *, gint, gchar *, ...)
__attribute__((format (printf, 3, 4)));
void col_append_fstr(frame_data *, gint, gchar *, ...)