summaryrefslogtreecommitdiff
path: root/epan
diff options
context:
space:
mode:
authorJakub Zawadzki <darkjames-ws@darkjames.pl>2013-11-14 22:50:55 +0000
committerJakub Zawadzki <darkjames-ws@darkjames.pl>2013-11-14 22:50:55 +0000
commitc0c26f8e2a46393912455acd670f0925c94765d8 (patch)
treef98cac9740825401784927a9b57890ea9645a7d1 /epan
parentb5916f0f1294dd76617d131a7d915c588b237231 (diff)
downloadwireshark-c0c26f8e2a46393912455acd670f0925c94765d8.tar.gz
64-bits: reorder fields in struct _protocol to remove padding.
This patch decrease size of _protocol structure from 64B to 56B svn path=/trunk/; revision=53328
Diffstat (limited to 'epan')
-rw-r--r--epan/proto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/proto.c b/epan/proto.c
index d150b01cda..bb6a6e32fc 100644
--- a/epan/proto.c
+++ b/epan/proto.c
@@ -247,9 +247,9 @@ struct _protocol {
const char *name; /* long description */
const char *short_name; /* short description */
const char *filter_name; /* name of this protocol in filters */
- int proto_id; /* field ID for this protocol */
GSList *fields; /* fields for this protocol */
GSList *last_field; /* pointer to end of list of fields */
+ int proto_id; /* field ID for this protocol */
gboolean is_enabled; /* TRUE if protocol is enabled */
gboolean can_toggle; /* TRUE if is_enabled can be changed */
gboolean is_private; /* TRUE is protocol is private */