From ca736cc7b49650764340bf420f834ddbd92da60b Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Sat, 2 Jan 2016 23:19:05 -0800 Subject: 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 , 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 --- wsutil/nstime.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wsutil') diff --git a/wsutil/nstime.h b/wsutil/nstime.h index 4145ac583c..6b495829c1 100644 --- a/wsutil/nstime.h +++ b/wsutil/nstime.h @@ -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; -- cgit v1.2.3