Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/cddl/osnet/sys/sys Let's define symbols before usin...
details: https://anonhg.NetBSD.org/src/rev/c90c2a39bdf3
branches: trunk
changeset: 357622:c90c2a39bdf3
user: kre <kre%NetBSD.org@localhost>
date: Sat Nov 18 18:52:59 2017 +0000
description:
Let's define symbols before using them.
diffstat:
external/cddl/osnet/sys/sys/kmem.h | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r f28fa08f567e -r c90c2a39bdf3 external/cddl/osnet/sys/sys/kmem.h
--- a/external/cddl/osnet/sys/sys/kmem.h Sat Nov 18 18:44:55 2017 +0000
+++ b/external/cddl/osnet/sys/sys/kmem.h Sat Nov 18 18:52:59 2017 +0000
@@ -1,5 +1,5 @@
-/* $NetBSD: kmem.h,v 1.8 2017/11/18 13:51:56 christos Exp $ */
+/* $NetBSD: kmem.h,v 1.9 2017/11/18 18:52:59 kre Exp $ */
/*-
* Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -37,6 +37,9 @@
#include_next <sys/pool.h>
#include_next <sys/vmem.h>
+#define KM_PUSHPAGE 0x00 /* XXXNETBSD */
+#define KMC_NODEBUG 0x00
+
typedef void kmem_cache_t;
u_long kmem_size(void);
@@ -88,7 +91,4 @@
#define kmem_cache_free(cache, buf) pool_cache_put(cache, buf)
#define kmem_cache_reap_now(cache) pool_cache_invalidate(cache)
-#define KM_PUSHPAGE 0x00 /* XXXNETBSD */
-#define KMC_NODEBUG 0x00
-
#endif /* _OPENSOLARIS_SYS_KMEM_H_ */
Home |
Main Index |
Thread Index |
Old Index