Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/vax/if use #ifdef INET instead of #if INET (for con...



details:   https://anonhg.NetBSD.org/src/rev/d2480f3001d3
branches:  trunk
changeset: 518317:d2480f3001d3
user:      lukem <lukem%NetBSD.org@localhost>
date:      Wed Nov 28 05:22:48 2001 +0000

description:
use #ifdef INET instead of #if INET (for consistency with the rest of the kernel)

diffstat:

 sys/arch/vax/if/if_le.c       |  4 ++--
 sys/arch/vax/if/if_le_vsbus.c |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r b2010877e871 -r d2480f3001d3 sys/arch/vax/if/if_le.c
--- a/sys/arch/vax/if/if_le.c   Wed Nov 28 05:03:31 2001 +0000
+++ b/sys/arch/vax/if/if_le.c   Wed Nov 28 05:22:48 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_le.c,v 1.20 2000/06/29 07:14:17 mrg Exp $   */
+/*     $NetBSD: if_le.c,v 1.21 2001/11/28 05:22:48 lukem Exp $ */
 
 /*-
  * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc.
@@ -90,7 +90,7 @@
 #include <net/if_ether.h>
 #include <net/if_media.h>
 
-#if INET
+#ifdef INET
 #include <netinet/in.h>
 #include <netinet/if_inarp.h>
 #endif
diff -r b2010877e871 -r d2480f3001d3 sys/arch/vax/if/if_le_vsbus.c
--- a/sys/arch/vax/if/if_le_vsbus.c     Wed Nov 28 05:03:31 2001 +0000
+++ b/sys/arch/vax/if/if_le_vsbus.c     Wed Nov 28 05:22:48 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_le_vsbus.c,v 1.11 2001/02/04 20:36:27 ragge Exp $   */
+/*     $NetBSD: if_le_vsbus.c,v 1.12 2001/11/28 05:22:48 lukem Exp $   */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -89,7 +89,7 @@
 #include <net/if_ether.h>
 #include <net/if_media.h>
 
-#if INET
+#ifdef INET
 #include <netinet/in.h>
 #include <netinet/if_inarp.h>
 #endif



Home | Main Index | Thread Index | Old Index