]> granicus.if.org Git - pdns/commitdiff
we might have more DiffTimes
authorbert hubert <bert.hubert@netherlabs.nl>
Sun, 29 Nov 2015 16:42:42 +0000 (17:42 +0100)
committerbert hubert <bert.hubert@netherlabs.nl>
Sun, 29 Nov 2015 16:42:42 +0000 (17:42 +0100)
pdns/dnsreplay.cc

index 6fcafd1ecfdc8494336f717e362e0b012f4f8ba4..2ace0421f8582e3200e4f52a7e6a58eb92e00734 100644 (file)
@@ -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;