Module Name: src
Committed By: christos
Date: Fri Sep 13 13:56:05 UTC 2019
Modified Files:
src/usr.bin/pmap: pmap.h
src/usr.bin/vmstat: vmstat.c
Log Message:
Expose struct namecache.
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/usr.bin/pmap/pmap.h
cvs rdiff -u -r1.227 -r1.228 src/usr.bin/vmstat/vmstat.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/pmap/pmap.h
diff -u src/usr.bin/pmap/pmap.h:1.10 src/usr.bin/pmap/pmap.h:1.11
--- src/usr.bin/pmap/pmap.h:1.10 Thu Jun 8 20:13:29 2017
+++ src/usr.bin/pmap/pmap.h Fri Sep 13 09:56:04 2019
@@ -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>
Index: src/usr.bin/vmstat/vmstat.c
diff -u src/usr.bin/vmstat/vmstat.c:1.227 src/usr.bin/vmstat/vmstat.c:1.228
--- src/usr.bin/vmstat/vmstat.c:1.227 Thu May 9 04:01:07 2019
+++ src/usr.bin/vmstat/vmstat.c Fri Sep 13 09:56:05 2019
@@ -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 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 19
#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>