Add macros to initialize nstime_t values and use them.
authorGuy Harris <guy@alum.mit.edu>
Thu, 28 Jun 2018 03:39:15 +0000 (20:39 -0700)
committerGuy Harris <guy@alum.mit.edu>
Thu, 28 Jun 2018 03:39:54 +0000 (03:39 +0000)
commit8304f69fd7f02cb5fe79010170c7550d441ad6e7
tree5b95441afcd9ff732999054dffb13939e03cdce9
parentc8518753c8d3f7bb809d2615adc9f6f2e5e89530
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@alum.mit.edu>
editcap.c
epan/dissectors/packet-collectd.c
epan/dissectors/packet-dns.c
epan/dissectors/packet-iax2.c
epan/dissectors/packet-rtpproxy.c
epan/dissectors/packet-smpp.c
wiretap/merge.c
wsutil/nstime.h