From 38edae1c718f690281958ff43d1154abc1c96247 Mon Sep 17 00:00:00 2001 From: Jakub Zawadzki Date: Sat, 9 Nov 2013 10:38:02 +0000 Subject: Replace wtap_nstime with nstime_t, remove wtap_nstime_to_sec. After r50154 nstime_t is inside wsutil/ so wiretap don't need it's own copy. svn path=/trunk/; revision=53184 --- reordercap.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'reordercap.c') diff --git a/reordercap.c b/reordercap.c index 69b5dbd9ea..6b1cc95cb7 100644 --- a/reordercap.c +++ b/reordercap.c @@ -59,11 +59,11 @@ static void usage(void) /* Remember where this frame was in the file */ typedef struct FrameRecord_t { - gint64 offset; - guint32 length; - guint num; + gint64 offset; + guint32 length; + guint num; - struct wtap_nstime time; + nstime_t time; } FrameRecord_t; @@ -137,8 +137,8 @@ frames_compare(gconstpointer a, gconstpointer b) const FrameRecord_t *frame1 = *(const FrameRecord_t **) a; const FrameRecord_t *frame2 = *(const FrameRecord_t **) b; - const struct wtap_nstime *time1 = &frame1->time; - const struct wtap_nstime *time2 = &frame2->time; + const nstime_t *time1 = &frame1->time; + const nstime_t *time2 = &frame2->time; if (time1->secs > time2->secs) return 1; -- cgit v1.2.1