rm unused (for lint)
authorMike Karels <karels@ucbvax.Berkeley.EDU>
Tue, 3 Jun 1986 05:27:12 +0000 (21:27 -0800)
committerMike Karels <karels@ucbvax.Berkeley.EDU>
Tue, 3 Jun 1986 05:27:12 +0000 (21:27 -0800)
SCCS-vsn: sys/net/if.c 6.13
SCCS-vsn: sys/net/if.h 6.14

usr/src/sys/net/if.c
usr/src/sys/net/if.h

index 579d0fb..dbd6347 100644 (file)
@@ -3,7 +3,7 @@
  * All rights reserved.  The Berkeley software License Agreement
  * specifies the terms and conditions for redistribution.
  *
  * All rights reserved.  The Berkeley software License Agreement
  * specifies the terms and conditions for redistribution.
  *
- *     @(#)if.c        6.12 (Berkeley) %G%
+ *     @(#)if.c        6.13 (Berkeley) %G%
  */
 
 #include "param.h"
  */
 
 #include "param.h"
@@ -143,6 +143,7 @@ ifa_ifwithnet(addr)
        return ((struct ifaddr *)0);
 }
 
        return ((struct ifaddr *)0);
 }
 
+#ifdef notdef
 /*
  * Find an interface using a specific address family
  */
 /*
  * Find an interface using a specific address family
  */
@@ -159,6 +160,7 @@ ifa_ifwithaf(af)
                        return (ifa);
        return ((struct ifaddr *)0);
 }
                        return (ifa);
        return ((struct ifaddr *)0);
 }
+#endif
 
 /*
  * Mark an interface down and notify protocols of
 
 /*
  * Mark an interface down and notify protocols of
index 996325a..6f45a03 100644 (file)
@@ -3,7 +3,7 @@
  * All rights reserved.  The Berkeley software License Agreement
  * specifies the terms and conditions for redistribution.
  *
  * All rights reserved.  The Berkeley software License Agreement
  * specifies the terms and conditions for redistribution.
  *
- *     @(#)if.h        6.13 (Berkeley) %G%
+ *     @(#)if.h        6.14 (Berkeley) %G%
  */
 
 /*
  */
 
 /*
@@ -205,12 +205,9 @@ struct     ifconf {
 
 #ifdef KERNEL
 #include "../net/if_arp.h"
 
 #ifdef KERNEL
 #include "../net/if_arp.h"
-#ifdef INET
-struct ifqueue ipintrq;                /* ip packet input queue */
-#endif
 struct ifqueue rawintrq;               /* raw packet input queue */
 struct ifnet *ifnet;
 struct ifqueue rawintrq;               /* raw packet input queue */
 struct ifnet *ifnet;
-struct ifaddr *ifa_ifwithaddr(), *ifa_ifwithnet(), *ifa_ifwithaf();
+struct ifaddr *ifa_ifwithaddr(), *ifa_ifwithnet();
 struct ifaddr *ifa_ifwithdstaddr();
 #else KERNEL
 #include <net/if_arp.h>
 struct ifaddr *ifa_ifwithdstaddr();
 #else KERNEL
 #include <net/if_arp.h>