summaryrefslogtreecommitdiff
path: root/epan/ftypes/ftype-protocol.c
diff options
context:
space:
mode:
authorMartin Kaiser <wireshark@kaiser.cx>2017-03-09 23:05:18 +0100
committerMichael Mann <mmann78@netscape.net>2017-03-10 02:35:21 +0000
commit8b11bc7b040862cfa5afd06541fb26829392a43c (patch)
tree5aec8ebb1758bdac11dab52027ec032add7cb6e1 /epan/ftypes/ftype-protocol.c
parent3bcda66971e7eff1bca5155207cb035e185dc6d0 (diff)
downloadwireshark-8b11bc7b040862cfa5afd06541fb26829392a43c.tar.gz
ftypes: move set_value_protocol into the union
Delete set_value_protocol from struct _ftype_t, make it part of the set_value union. Change-Id: Iae55388b8a2c965944028499619282c3232c31f3 Reviewed-on: https://code.wireshark.org/review/20475 Reviewed-by: Peter Wu <peter@lekensteyn.nl> Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/ftypes/ftype-protocol.c')
-rw-r--r--epan/ftypes/ftype-protocol.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/ftypes/ftype-protocol.c b/epan/ftypes/ftype-protocol.c
index 64aa09a830..f0f25e9085 100644
--- a/epan/ftypes/ftype-protocol.c
+++ b/epan/ftypes/ftype-protocol.c
@@ -463,9 +463,8 @@ ftype_register_tvbuff(void)
val_to_repr, /* val_to_string_repr */
val_repr_len, /* len_string_repr */
- { NULL }, /* union set_value */
+ { .set_value_protocol = value_set }, /* union set_value */
- value_set, /* set_value_protocol */
NULL, /* set_value_uinteger */
NULL, /* set_value_sinteger */
NULL, /* set_value_uinteger64 */