Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net don't expose structures and prototypes to _STANDALON...
details: https://anonhg.NetBSD.org/src/rev/71823ee7fc72
branches: trunk
changeset: 471721:71823ee7fc72
user: drochner <drochner%NetBSD.org@localhost>
date: Fri Apr 09 09:32:51 1999 +0000
description:
don't expose structures and prototypes to _STANDALONE programs
diffstat:
sys/net/if_ether.h | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r c0e6644c11c3 -r 71823ee7fc72 sys/net/if_ether.h
--- a/sys/net/if_ether.h Fri Apr 09 07:29:43 1999 +0000
+++ b/sys/net/if_ether.h Fri Apr 09 09:32:51 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.8 1999/04/09 09:32:51 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