Source-Changes-HG archive

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

[src/netbsd-1-4]: src/sys/net pull up rev. 1.8 - namespace protection for _ST...



details:   https://anonhg.NetBSD.org/src/rev/29e31afaae2b
branches:  netbsd-1-4
changeset: 468144:29e31afaae2b
user:      drochner <drochner%NetBSD.org@localhost>
date:      Fri Apr 09 17:19:03 1999 +0000

description:
pull up rev. 1.8 - namespace protection for _STANDALONE programs

diffstat:

 sys/net/if_ether.h |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 9fe8fd0141a4 -r 29e31afaae2b sys/net/if_ether.h
--- a/sys/net/if_ether.h        Fri Apr 09 17:11:29 1999 +0000
+++ b/sys/net/if_ether.h        Fri Apr 09 17:19:03 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_ether.h,v 1.7 1999/03/25 23:08:28 thorpej Exp $     */
+/*     $NetBSD: if_ether.h,v 1.7.2.1 1999/04/09 17:19:03 drochner Exp $        */
 
 /*
  * Copyright (c) 1982, 1986, 1993
@@ -72,6 +72,8 @@
 #define        ETHERMTU        (ETHER_MAX_LEN - ETHER_HDR_LEN - ETHER_CRC_LEN)
 #define        ETHERMIN        (ETHER_MIN_LEN - ETHER_HDR_LEN - ETHER_CRC_LEN)
 
+#ifndef _STANDALONE
+
 #ifdef _KERNEL
 /*
  * Macro to map an IP multicast address to an Ethernet multicast address.
@@ -190,4 +192,6 @@
 __END_DECLS
 #endif
 
+#endif /* _STANDALONE */
+
 #endif /* _NET_IF_ETHER_H_ */



Home | Main Index | Thread Index | Old Index