mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Fix build without INET6 and with gcc. A function definition was ifdefed
for INET6, but its protototype was not, and gcc detects the error.
This commit is contained in:
parent
bc3aca4bf9
commit
de618daaf0
1 changed files with 2 additions and 0 deletions
|
|
@ -104,7 +104,9 @@ static int ifmap_size;
|
|||
static struct timespec uptime;
|
||||
|
||||
static const char *netname4(in_addr_t, in_addr_t);
|
||||
#ifdef INET6
|
||||
static const char *netname6(struct sockaddr_in6 *, struct sockaddr_in6 *);
|
||||
#endif
|
||||
static void p_rtable_sysctl(int, int);
|
||||
static void p_rtentry_sysctl(const char *name, struct rt_msghdr *);
|
||||
static int p_sockaddr(const char *name, struct sockaddr *, struct sockaddr *,
|
||||
|
|
|
|||
Loading…
Reference in a new issue