diff options
author | pdw <> | 2014-01-19 20:28:31 +0000 |
---|---|---|
committer | pdw <> | 2014-01-19 20:28:31 +0000 |
commit | ceabf7a47a51d129368080ac04e692d5c3591244 (patch) | |
tree | d25a41a7e7e8a55fc0635324c0153c100742bdc3 | |
parent | 687861284d75260c17ff285557c12b0f2ad996f6 (diff) | |
download | iftop-ceabf7a47a51d129368080ac04e692d5c3591244.zip |
Fixed various compilation issues.
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | iftop.c | 4 | ||||
-rw-r--r-- | options.c | 1 |
3 files changed, 3 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index af7f19f..f2e026a 100644 --- a/configure.ac +++ b/configure.ac @@ -22,7 +22,7 @@ dnl dnl Boilerplate configuration dnl -AC_INIT([iftop], [1.0pre2], [pdw@ex-parrot.com], [http://www.ex-parrot.com/pdw/iftop/]) +AC_INIT([iftop], [1.0pre4], [pdw@ex-parrot.com], [iftop], [http://www.ex-parrot.com/pdw/iftop/]) AC_CONFIG_AUX_DIR(config) @@ -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); } @@ -215,7 +215,6 @@ static void usage(FILE *fp) { "copyright (c) 2002 Paul Warren <pdw@ex-parrot.com> and contributors\n" ); } -#endif /* Obsolete code? */ void options_read_args(int argc, char **argv) { int opt; |