aboutsummaryrefslogtreecommitdiffstats
path: root/editcap.c
diff options
context:
space:
mode:
authorJakub Zawadzki <darkjames-ws@darkjames.pl>2013-11-09 10:38:02 +0000
committerJakub Zawadzki <darkjames-ws@darkjames.pl>2013-11-09 10:38:02 +0000
commit38edae1c718f690281958ff43d1154abc1c96247 (patch)
tree710d4b0220196b0b12691dc2d6d48394b9b8bc59 /editcap.c
parentf207c70075d66f226e0eea8f33aae6105925ea25 (diff)
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 'editcap.c')
-rw-r--r--editcap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/editcap.c b/editcap.c
index c3a03bcc5e..535cc35bae 100644
--- a/editcap.c
+++ b/editcap.c
@@ -182,7 +182,7 @@ static void handle_chopping(chop_t chop, struct wtap_pkthdr *out_phdr,
gboolean adjlen);
static gchar *
-abs_time_to_str_with_sec_resolution(const struct wtap_nstime *abs_time)
+abs_time_to_str_with_sec_resolution(const nstime_t *abs_time)
{
struct tm *tmp;
gchar *buf = (gchar *)g_malloc(16);
@@ -213,7 +213,7 @@ abs_time_to_str_with_sec_resolution(const struct wtap_nstime *abs_time)
}
static gchar*
-fileset_get_filename_by_pattern(guint idx, const struct wtap_nstime *time_val,
+fileset_get_filename_by_pattern(guint idx, const nstime_t *time_val,
gchar *fprefix, gchar *fsuffix)
{
gchar filenum[5+1];