aboutsummaryrefslogtreecommitdiffstats
path: root/wsutil
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-01-02 23:19:05 -0800
committerGuy Harris <guy@alum.mit.edu>2016-01-03 07:19:34 +0000
commitca736cc7b49650764340bf420f834ddbd92da60b (patch)
tree960d92700ba8ff8868551280df1a2eda94de391e /wsutil
parentee1b845fa85cb29208c087171e3a40857f2cc6b5 (diff)
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>
Diffstat (limited to 'wsutil')
-rw-r--r--wsutil/nstime.h2
1 files changed, 1 insertions, 1 deletions
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;