aboutsummaryrefslogtreecommitdiffstats
path: root/epan/proto.h
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2010-04-27 12:38:49 +0000
committerAnders Broman <anders.broman@ericsson.com>2010-04-27 12:38:49 +0000
commitab825ec9d9d827ed5333778bd26f7ca20b839975 (patch)
treee49249d0cb639081456995b404e34b441f01d449 /epan/proto.h
parenta34b791645c410f5b0e6d3c0324c8cef79e4e7e9 (diff)
From Jakub Zawadzki:
- use function pointers instead of switch. - initalize ->match_type during first use of match_str() func. svn path=/trunk/; revision=32576
Diffstat (limited to 'epan/proto.h')
-rw-r--r--epan/proto.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/epan/proto.h b/epan/proto.h
index 97b934dcba..49394ebc08 100644
--- a/epan/proto.h
+++ b/epan/proto.h
@@ -159,10 +159,6 @@ typedef enum {
BASE_CUSTOM /**< call custom routine (in ->strings) to format */
} base_display_e;
-#define IS_INT_TYPE(type) \
- ((type) == FT_UINT8 || (type) == FT_UINT16 || (type) == FT_UINT24 || (type) == FT_UINT32 || (type) == FT_UINT64 || \
- (type) == FT_INT8 || (type) == FT_INT16 || (type) == FT_INT24 || (type) == FT_INT32 || (type) == FT_INT64)
-
/* Following constants have to be ORed with a base_display_e when dissector
* want to use specials MACROs (for the moment, only RVALS) for a
* header_field_info */