diff options
author | Gerald Combs <gerald@wireshark.org> | 2023-10-15 15:34:47 -0700 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2023-10-16 16:34:43 +0000 |
commit | 3489952a810d9c4aafcbcc3c75a23d39f8b1da62 (patch) | |
tree | cee2f1a0176985a896f424d649c9fcc2f6b7e106 /epan/dissectors/packet-2dparityfec.c | |
parent | adb4f1d91b24b396218fdee80ea061c0e84caa20 (diff) |
Make `grep proto_register_protocol` more useful
Make sure the short name is on the same line as or the line following
proto_register_protocol. This makes things like assembling the release
notes easier.
Diffstat (limited to 'epan/dissectors/packet-2dparityfec.c')
-rw-r--r-- | epan/dissectors/packet-2dparityfec.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/epan/dissectors/packet-2dparityfec.c b/epan/dissectors/packet-2dparityfec.c index 8f6ceb6467..8f478f63e8 100644 --- a/epan/dissectors/packet-2dparityfec.c +++ b/epan/dissectors/packet-2dparityfec.c @@ -231,10 +231,7 @@ void proto_register_2dparityfec(void) module_t *module_2dparityfec; - proto_2dparityfec = proto_register_protocol( - "Pro-MPEG Code of Practice #3 release 2 FEC Protocol", /* name */ - "2dparityfec", /* short name */ - "2dparityfec"); /* abbrev */ + proto_2dparityfec = proto_register_protocol("Pro-MPEG Code of Practice #3 release 2 FEC Protocol", "2dparityfec", "2dparityfec"); proto_register_field_array(proto_2dparityfec, hf, array_length(hf)); proto_register_subtree_array(ett, array_length(ett)); |