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
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) {