From fc42886b5ccafa67847a2ccad623b237333bfd4d Mon Sep 17 00:00:00 2001 From: Aaron Taylor Date: Mon, 7 Oct 2019 04:23:45 -0700 Subject: [PATCH] Removed gcd(). --- icmpmonitor.c | 8 -------- 1 file changed, 8 deletions(-) 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) { -- 2.20.1