No need for "struct nstime_t", "nstime_t" by itself suffices.

(That should also keep people from deciding that they don't want to
include <wsutil/nstime.h>, but still want to use Wireshark nanosecond
times, and do so by sticking a private incomplete definition of "struct
nstime_t" into the code.)

Change-Id: I94e863fe7083ebba254c3a718b85088a89fb6b7d
Reviewed-on: https://code.wireshark.org/review/13022
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2016-01-02 23:19:05 -08:00
parent ee1b845fa8
commit ca736cc7b4

View File

@ -36,7 +36,7 @@ extern "C" {
*/
/** data structure to hold time values with nanosecond resolution*/
typedef struct nstime_t {
typedef struct {
time_t secs;
int nsecs;
} nstime_t;