Removed gcd().
authorAaron Taylor <ataylor@subgeniuskitty.com>
Mon, 7 Oct 2019 11:23:45 +0000 (04:23 -0700)
committerAaron Taylor <ataylor@subgeniuskitty.com>
Mon, 7 Oct 2019 11:23:45 +0000 (04:23 -0700)
icmpmonitor.c

index 5a35867..f7e4a47 100644 (file)
@@ -342,14 +342,6 @@ get_host_addr(const char * name)
     return result;
 }
 
     return result;
 }
 
-size_t
-gcd(const size_t x, const size_t y)
-{
-    size_t remainder = x % y;
-    if (remainder == 0) return y;
-    return gcd(y, remainder);
-}
-
 void
 remove_host_from_list(struct host_entry * host)
 {
 void
 remove_host_from_list(struct host_entry * host)
 {