Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libpcap compile without INET6. PR 13080
details: https://anonhg.NetBSD.org/src/rev/375dbcf2c765
branches: trunk
changeset: 510568:375dbcf2c765
user: itojun <itojun%NetBSD.org@localhost>
date: Fri Jun 01 15:49:53 2001 +0000
description:
compile without INET6. PR 13080
diffstat:
lib/libpcap/gencode.c | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diffs (30 lines):
diff -r 81ba5770ea66 -r 375dbcf2c765 lib/libpcap/gencode.c
--- a/lib/libpcap/gencode.c Fri Jun 01 15:30:11 2001 +0000
+++ b/lib/libpcap/gencode.c Fri Jun 01 15:49:53 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gencode.c,v 1.28 2001/04/29 10:25:50 martin Exp $ */
+/* $NetBSD: gencode.c,v 1.29 2001/06/01 15:49:53 itojun Exp $ */
/*
* Copyright (c) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997
@@ -26,7 +26,7 @@
static const char rcsid[] =
"@(#) Header: gencode.c,v 1.93 97/06/12 14:22:47 leres Exp (LBL)";
#else
-__RCSID("$NetBSD: gencode.c,v 1.28 2001/04/29 10:25:50 martin Exp $");
+__RCSID("$NetBSD: gencode.c,v 1.29 2001/06/01 15:49:53 itojun Exp $");
#endif
#endif
@@ -1300,7 +1300,10 @@
gen_proto_abbrev(proto)
int proto;
{
- struct block *b0, *b1;
+#ifdef INET6
+ struct block *b0;
+#endif
+ struct block *b1;
switch (proto) {
Home |
Main Index |
Thread Index |
Old Index