Wireshark-commits: [Wireshark-commits] master 8304f69: Add macros to initialize nstime_t values and
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=8304f69fd7f02cb5fe79010170c7550d441ad6e7
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
8304f69 by Guy Harris (guy@xxxxxxxxxxxx):
Add macros to initialize nstime_t values and use them.
This allows code to initialize them without having to know the details
of the structure; the initializes should, and will, be changed if the
members of the structure are changed.
Change-Id: I93e6ebfcde9ceca17df696fcba4e8410c5afb175
Reviewed-on: https://code.wireshark.org/review/28501
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Actions performed:
from c851875 packet-mdp.c: New dissector for Cisco Meraki Discovery Protocol
adds 8304f69 Add macros to initialize nstime_t values and use them.
Summary of changes:
editcap.c | 8 ++++----
epan/dissectors/packet-collectd.c | 2 +-
epan/dissectors/packet-dns.c | 2 +-
epan/dissectors/packet-iax2.c | 2 +-
epan/dissectors/packet-rtpproxy.c | 2 +-
epan/dissectors/packet-smpp.c | 8 ++++----
wiretap/merge.c | 2 +-
wsutil/nstime.h | 20 ++++++++++++++++++++
8 files changed, 33 insertions(+), 13 deletions(-)