summaryrefslogtreecommitdiff
path: root/iftop.c
diff options
context:
space:
mode:
authorpdw <>2014-01-19 20:28:31 +0000
committerpdw <>2014-01-19 20:28:31 +0000
commitceabf7a47a51d129368080ac04e692d5c3591244 (patch)
treed25a41a7e7e8a55fc0635324c0153c100742bdc3 /iftop.c
parent687861284d75260c17ff285557c12b0f2ad996f6 (diff)
downloadiftop-ceabf7a47a51d129368080ac04e692d5c3591244.zip
Fixed various compilation issues.
Diffstat (limited to 'iftop.c')
-rw-r--r--iftop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/iftop.c b/iftop.c
index 42fca2f..a090dcf 100644
--- a/iftop.c
+++ b/iftop.c
@@ -177,11 +177,11 @@ int in_filter_net(struct in_addr addr) {
return ret;
}
-int __inline__ ip_addr_match(struct in_addr addr) {
+static int __inline__ ip_addr_match(struct in_addr addr) {
return addr.s_addr == if_ip_addr.s_addr;
}
-int __inline__ ip6_addr_match(struct in6_addr *addr) {
+static int __inline__ ip6_addr_match(struct in6_addr *addr) {
return IN6_ARE_ADDR_EQUAL(addr, &if_ip6_addr);
}