projects
/
icmpmonitor
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Removed gcd().
[icmpmonitor]
/
icmpmonitor.c
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)
{