aboutsummaryrefslogtreecommitdiffstats
path: root/dumpcap.c
diff options
context:
space:
mode:
authorJoão Valverde <j@v6e.pt>2021-12-15 13:25:11 +0000
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2021-12-15 15:00:59 +0000
commit81de22e81aa8255abd32b0aab8bc50f60028eddf (patch)
tree62e467c6dc56448dbdeb1656438eb9773325f1ad /dumpcap.c
parentfe30cf2f8afeec83ed52520f88ae7590f89bf42b (diff)
wslog: 'struct timespec' is C11, use that
Diffstat (limited to 'dumpcap.c')
-rw-r--r--dumpcap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/dumpcap.c b/dumpcap.c
index d3b6e0116d..07cafd4aae 100644
--- a/dumpcap.c
+++ b/dumpcap.c
@@ -319,7 +319,7 @@ static gboolean need_timeout_workaround;
static void
dumpcap_log_writer(const char *domain, enum ws_log_level level,
- ws_log_time_t timestamp,
+ struct timespec timestamp,
const char *file, int line, const char *func,
const char *user_format, va_list user_ap,
void *user_data);
@@ -5574,7 +5574,7 @@ main(int argc, char *argv[])
static void
dumpcap_log_writer(const char *domain, enum ws_log_level level,
- ws_log_time_t timestamp,
+ struct timespec timestamp,
const char *file, int line, const char *func,
const char *user_format, va_list user_ap,
void *user_data _U_)