diff options
author | Jason Downs <downsj@cvs.openbsd.org> | 1999-12-09 17:55:36 +0000 |
---|---|---|
committer | Jason Downs <downsj@cvs.openbsd.org> | 1999-12-09 17:55:36 +0000 |
commit | d7976764a996c5568f4e7422d4db87b7ebaa9c09 (patch) | |
tree | bbb240ebeb5454dfeb8895bac9e7ce3ab83bfa73 /sys | |
parent | 1d609cf57cdab7a58a6bb93c8cbb2ae64bef81a7 (diff) |
Move variable decls into the appropriate #ifdefs so GENERIC compiles...
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet/ip_ip4.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/netinet/ip_ip4.c b/sys/netinet/ip_ip4.c index f5d9ed22fc3..aa522f7c19f 100644 --- a/sys/netinet/ip_ip4.c +++ b/sys/netinet/ip_ip4.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_ip4.c,v 1.39 1999/12/09 09:10:05 angelos Exp $ */ +/* $OpenBSD: ip_ip4.c,v 1.40 1999/12/09 17:55:35 downsj Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), @@ -269,15 +269,16 @@ int ipe4_output(struct mbuf *m, struct tdb *tdb, struct mbuf **mp, int skip, int protoff) { - u_int8_t itos, otos; u_int8_t tp; #ifdef INET + u_int8_t itos; struct ip *ipo; #endif /* INET */ #ifdef INET6 struct ip6_hdr *ip6o; + u_int8_t otos; #endif /* INET6 */ /* Deal with empty TDB source/destination addresses */ |