Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net Oops, make this build without ALTQ again.
details: https://anonhg.NetBSD.org/src/rev/fbc6ce8cdd03
branches: trunk
changeset: 500806:fbc6ce8cdd03
user: thorpej <thorpej%NetBSD.org@localhost>
date: Mon Dec 18 21:13:14 2000 +0000
description:
Oops, make this build without ALTQ again.
diffstat:
sys/net/if_loop.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (29 lines):
diff -r 54face0ca04d -r fbc6ce8cdd03 sys/net/if_loop.c
--- a/sys/net/if_loop.c Mon Dec 18 21:05:03 2000 +0000
+++ b/sys/net/if_loop.c Mon Dec 18 21:13:14 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_loop.c,v 1.33 2000/12/18 19:50:44 thorpej Exp $ */
+/* $NetBSD: if_loop.c,v 1.34 2000/12/18 21:13:14 thorpej Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -139,7 +139,9 @@
struct ifnet loif[NLOOP];
+#ifdef ALTQ
void lostart(struct ifnet *);
+#endif
void
loopattach(n)
@@ -156,7 +158,9 @@
ifp->if_flags = IFF_LOOPBACK | IFF_MULTICAST;
ifp->if_ioctl = loioctl;
ifp->if_output = looutput;
+#ifdef ALTQ
ifp->if_start = lostart;
+#endif
ifp->if_type = IFT_LOOP;
ifp->if_hdrlen = 0;
ifp->if_addrlen = 0;
Home |
Main Index |
Thread Index |
Old Index