Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys make mbuftypes always visible
details: https://anonhg.NetBSD.org/src/rev/fc0884b9d056
branches: trunk
changeset: 318720:fc0884b9d056
user: christos <christos%NetBSD.org@localhost>
date: Thu May 03 21:37:29 2018 +0000
description:
make mbuftypes always visible
diffstat:
sys/sys/mbuf.h | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (27 lines):
diff -r bebc1cf87d37 -r fc0884b9d056 sys/sys/mbuf.h
--- a/sys/sys/mbuf.h Thu May 03 20:15:49 2018 +0000
+++ b/sys/sys/mbuf.h Thu May 03 21:37:29 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mbuf.h,v 1.204 2018/05/03 08:39:28 maxv Exp $ */
+/* $NetBSD: mbuf.h,v 1.205 2018/05/03 21:37:29 christos Exp $ */
/*
* Copyright (c) 1996, 1997, 1999, 2001, 2007 The NetBSD Foundation, Inc.
@@ -397,7 +397,7 @@
#define MT_OOBDATA 7 /* expedited data */
#ifdef MBUFTYPES
-static const char * const mbuftypes[] = {
+const char * const mbuftypes[] = {
"mbfree",
"mbdata",
"mbheader",
@@ -407,6 +407,8 @@
"mbcontrol",
"mboobdata",
};
+#else
+extern const char * const mbuftypes[];
#endif
/* flags to m_get/MGET */
Home |
Main Index |
Thread Index |
Old Index