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/if_ioctl_solaris.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/if_ioctl_solaris.c')
-rw-r--r-- | zebra/if_ioctl_solaris.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/zebra/if_ioctl_solaris.c b/zebra/if_ioctl_solaris.c index fc384ea2..d86842b8 100644 --- a/zebra/if_ioctl_solaris.c +++ b/zebra/if_ioctl_solaris.c @@ -20,7 +20,10 @@ * 02111-1307, USA. */ +/* This is compiled and linked if found to be required at "configure" time. */ + #include <zebra.h> +#include "if_method.h" #include "if.h" #include "sockunion.h" @@ -31,8 +34,6 @@ #include "log.h" #include "privs.h" -#include "zebra/interface.h" - void lifreq_set_name (struct lifreq *, const char *); int if_get_flags_direct (const char *, uint64_t *, unsigned int af); static int if_get_addr (struct interface *, struct sockaddr *, const char *); |