Commit ceabf7a4 by pdw

Fixed various compilation issues.

1 parent 68786128
Showing with 3 additions and 4 deletions
...@@ -22,7 +22,7 @@ dnl ...@@ -22,7 +22,7 @@ dnl
dnl Boilerplate configuration dnl Boilerplate configuration
dnl 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) AC_CONFIG_AUX_DIR(config)
......
...@@ -177,11 +177,11 @@ int in_filter_net(struct in_addr addr) { ...@@ -177,11 +177,11 @@ int in_filter_net(struct in_addr addr) {
return ret; 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; 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); return IN6_ARE_ADDR_EQUAL(addr, &if_ip6_addr);
} }
......
...@@ -215,7 +215,6 @@ static void usage(FILE *fp) { ...@@ -215,7 +215,6 @@ static void usage(FILE *fp) {
"copyright (c) 2002 Paul Warren <pdw@ex-parrot.com> and contributors\n" "copyright (c) 2002 Paul Warren <pdw@ex-parrot.com> and contributors\n"
); );
} }
#endif /* Obsolete code? */
void options_read_args(int argc, char **argv) { void options_read_args(int argc, char **argv) {
int opt; int opt;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!