projects
/
icmpmonitor
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b145a7f
)
Removed gcd().
author
Aaron Taylor
<ataylor@subgeniuskitty.com>
Mon, 7 Oct 2019 11:23:45 +0000
(
04:23
-0700)
committer
Aaron Taylor
<ataylor@subgeniuskitty.com>
Mon, 7 Oct 2019 11:23:45 +0000
(
04:23
-0700)
icmpmonitor.c
patch
|
blob
|
blame
|
history
diff --git
a/icmpmonitor.c
b/icmpmonitor.c
index
5a35867
..
f7e4a47
100644
(file)
--- 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)
{