From: Aaron Taylor Date: Mon, 7 Oct 2019 11:23:45 +0000 (-0700) Subject: Removed gcd(). X-Git-Url: http://git.subgeniuskitty.com/icmpmonitor/.git/commitdiff_plain/fc42886b5ccafa67847a2ccad623b237333bfd4d Removed gcd(). --- diff --git a/icmpmonitor.c b/icmpmonitor.c index 5a35867..f7e4a47 100644 --- a/icmpmonitor.c +++ b/icmpmonitor.c @@ -342,14 +342,6 @@ get_host_addr(const char * name) 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) {