From: bert hubert Date: Sun, 29 Nov 2015 16:42:42 +0000 (+0100) Subject: we might have more DiffTimes X-Git-Tag: dnsdist-1.0.0-alpha1~170^2~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1f2f3703b72895ac080dbf0fa9c6896868a8ed51;p=pdns we might have more DiffTimes --- diff --git a/pdns/dnsreplay.cc b/pdns/dnsreplay.cc index 6fcafd1ec..2ace0421f 100644 --- a/pdns/dnsreplay.cc +++ b/pdns/dnsreplay.cc @@ -203,7 +203,7 @@ unsigned int s_webetter, s_origbetter, s_norecursionavailable; unsigned int s_weunmatched, s_origunmatched; unsigned int s_wednserrors, s_origdnserrors, s_duplicates; -double DiffTime(const struct timeval& first, const struct timeval& second) +static double DiffTime(const struct timeval& first, const struct timeval& second) { int seconds=second.tv_sec - first.tv_sec; int useconds=second.tv_usec - first.tv_usec;