Source-Changes-HG archive

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

[src/trunk]: src/usr.bin Expose struct namecache.



details:   https://anonhg.NetBSD.org/src/rev/3bd194432bc6
branches:  trunk
changeset: 454326:3bd194432bc6
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Sep 13 13:56:04 2019 +0000

description:
Expose struct namecache.

diffstat:

 usr.bin/pmap/pmap.h     |  3 ++-
 usr.bin/vmstat/vmstat.c |  5 +++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diffs (40 lines):

diff -r 6acef3825a01 -r 3bd194432bc6 usr.bin/pmap/pmap.h
--- a/usr.bin/pmap/pmap.h       Fri Sep 13 13:55:24 2019 +0000
+++ b/usr.bin/pmap/pmap.h       Fri Sep 13 13:56:04 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.h,v 1.10 2017/06/09 00:13:29 chs Exp $ */
+/*     $NetBSD: pmap.h,v 1.11 2019/09/13 13:56:04 christos Exp $ */
 
 /*
  * Copyright (c) 2002, 2003 The NetBSD Foundation, Inc.
@@ -49,6 +49,7 @@
 #define __EXPOSE_MOUNT
 #include <sys/mount.h>
 #include <sys/uio.h>
+#define __NAMECACHE_PRIVATE
 #include <sys/namei.h>
 #include <sys/sysctl.h>
 
diff -r 6acef3825a01 -r 3bd194432bc6 usr.bin/vmstat/vmstat.c
--- a/usr.bin/vmstat/vmstat.c   Fri Sep 13 13:55:24 2019 +0000
+++ b/usr.bin/vmstat/vmstat.c   Fri Sep 13 13:56:04 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vmstat.c,v 1.227 2019/05/09 08:01:07 mrg Exp $ */
+/* $NetBSD: vmstat.c,v 1.228 2019/09/13 13:56:05 christos Exp $ */
 
 /*-
  * Copyright (c) 1998, 2000, 2001, 2007 The NetBSD Foundation, Inc.
@@ -70,11 +70,12 @@
 #if 0
 static char sccsid[] = "@(#)vmstat.c   8.2 (Berkeley) 3/1/95";
 #else
-__RCSID("$NetBSD: vmstat.c,v 1.227 2019/05/09 08:01:07 mrg Exp $");
+__RCSID("$NetBSD: vmstat.c,v 1.228 2019/09/13 13:56:05 christos Exp $");
 #endif
 #endif /* not lint */
 
 #define        __POOL_EXPOSE
+#define __NAMECACHE_PRIVATE
 
 #include <sys/param.h>
 #include <sys/types.h>



Home | Main Index | Thread Index | Old Index