diff options
author | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2013-11-09 10:38:02 +0000 |
---|---|---|
committer | Jakub Zawadzki <darkjames-ws@darkjames.pl> | 2013-11-09 10:38:02 +0000 |
commit | 38edae1c718f690281958ff43d1154abc1c96247 (patch) | |
tree | 710d4b0220196b0b12691dc2d6d48394b9b8bc59 /reordercap.c | |
parent | f207c70075d66f226e0eea8f33aae6105925ea25 (diff) | |
download | wireshark-38edae1c718f690281958ff43d1154abc1c96247.tar.gz wireshark-38edae1c718f690281958ff43d1154abc1c96247.tar.bz2 wireshark-38edae1c718f690281958ff43d1154abc1c96247.zip |
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
Diffstat (limited to 'reordercap.c')
-rw-r--r-- | reordercap.c | 12 |
1 files changed, 6 insertions, 6 deletions
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; |