1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-16 15:11:52 +00:00

Fix another boatload of warnings (missing include) and a cosmetic

-Wuninitialized warning.
This commit is contained in:
Peter Wemm 2002-02-28 00:14:04 +00:00
parent 777b9faaa4
commit 71e166afe3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=91453
2 changed files with 4 additions and 0 deletions

View File

@ -66,6 +66,7 @@
#ifdef INET6
#include <netinet/ip6.h>
#include <netinet6/ip6_var.h>
#include <netinet/in_pcb.h>
#include <netinet6/in6_pcb.h>
#include <netinet/icmp6.h>
#include <netinet6/ip6protosw.h>
@ -990,6 +991,7 @@ ah6_ctlinput(cmd, sa, d)
} else {
m = NULL;
ip6 = NULL;
off = 0; /* calm gcc */
}
if (ip6) {

View File

@ -64,6 +64,7 @@
#ifdef INET6
#include <netinet/ip6.h>
#include <netinet/in_pcb.h>
#include <netinet6/in6_pcb.h>
#include <netinet6/ip6_var.h>
#include <netinet/icmp6.h>
@ -914,6 +915,7 @@ esp6_ctlinput(cmd, sa, d)
} else {
m = NULL;
ip6 = NULL;
off = 0; /* calm gcc */
}
if (ip6) {