diff options
author | Chris Hall <GMCH@hestia.halldom.com> | 2010-04-17 16:11:13 +0100 |
---|---|---|
committer | Chris Hall <GMCH@hestia.halldom.com> | 2010-04-17 16:11:13 +0100 |
commit | 825f338d44433fc2d351c08d41272f52a15329db (patch) | |
tree | 927c6a37e8dbf4c425d845895500b59ac997fbfb /zebra/mtu_kvm.c | |
parent | 68297cc9dc2eb920dd6e956d0d55098ea9edaafc (diff) | |
download | quagga-825f338d44433fc2d351c08d41272f52a15329db.tar.bz2 quagga-825f338d44433fc2d351c08d41272f52a15329db.tar.xz |
Fixing declarations to eliminate compiler warnings in zebra.
Only parts of zebra/*.c are compiled and linked, depending on what
was chosen at "configure" time. A subset of that is compiled and
linked for testzebra.
Some things were not declared, or not declared everywhere they
were required... leading to a number of compiler warnings.
These changes are intended to tidy that up.
Diffstat (limited to 'zebra/mtu_kvm.c')
-rw-r--r-- | zebra/mtu_kvm.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/zebra/mtu_kvm.c b/zebra/mtu_kvm.c index d37bb9bb..c54741dd 100644 --- a/zebra/mtu_kvm.c +++ b/zebra/mtu_kvm.c @@ -24,9 +24,16 @@ #include <kvm.h> #include <limits.h> #include <fcntl.h> +#include "zebra/interface.h" /* declares if_kvm_get_mtu() */ #include "if.h" +/* This is compiled and linked for BSDI if found to be required at "configure" + * time. + * + * See: OTHER_METHOD + */ + /* get interface MTU to use kvm_read */ void if_kvm_get_mtu (struct interface *ifp) |