Module Name:    src
Committed By:   christos
Date:           Sat Jan 23 16:12:03 UTC 2016

Modified Files:
        src/usr.bin/fstat: Makefile misc.c tmpfs.c

Log Message:
put _KMEMUSER in the Makefile


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/usr.bin/fstat/Makefile
cvs rdiff -u -r1.15 -r1.16 src/usr.bin/fstat/misc.c
cvs rdiff -u -r1.9 -r1.10 src/usr.bin/fstat/tmpfs.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/fstat/Makefile
diff -u src/usr.bin/fstat/Makefile:1.23 src/usr.bin/fstat/Makefile:1.24
--- src/usr.bin/fstat/Makefile:1.23	Sat Sep 10 14:34:54 2011
+++ src/usr.bin/fstat/Makefile	Sat Jan 23 11:12:03 2016
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.23 2011/09/10 18:34:54 christos Exp $
+#	$NetBSD: Makefile,v 1.24 2016/01/23 16:12:03 christos Exp $
 #	from: @(#)Makefile	8.1 (Berkeley) 6/6/93
 
 .include <bsd.own.mk>
@@ -16,6 +16,7 @@ CPPFLAGS+= -I${NETBSDSRCDIR}/sys
 .if (${USE_INET6} != "no")
 CPPFLAGS+=-DINET6
 .endif
+CPPFLAGS+=-D_KMEMUSER
 
 LDADD+=-lutil
 DPADD+=${LIBUTIL}

Index: src/usr.bin/fstat/misc.c
diff -u src/usr.bin/fstat/misc.c:1.15 src/usr.bin/fstat/misc.c:1.16
--- src/usr.bin/fstat/misc.c:1.15	Wed Dec 30 13:15:38 2015
+++ src/usr.bin/fstat/misc.c	Sat Jan 23 11:12:03 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: misc.c,v 1.15 2015/12/30 18:15:38 christos Exp $	*/
+/*	$NetBSD: misc.c,v 1.16 2016/01/23 16:12:03 christos Exp $	*/
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -30,9 +30,8 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: misc.c,v 1.15 2015/12/30 18:15:38 christos Exp $");
+__RCSID("$NetBSD: misc.c,v 1.16 2016/01/23 16:12:03 christos Exp $");
 
-#define _KMEMUSER
 #include <stdbool.h>
 #include <sys/param.h>
 #include <sys/types.h>

Index: src/usr.bin/fstat/tmpfs.c
diff -u src/usr.bin/fstat/tmpfs.c:1.9 src/usr.bin/fstat/tmpfs.c:1.10
--- src/usr.bin/fstat/tmpfs.c:1.9	Sat May 28 21:00:50 2011
+++ src/usr.bin/fstat/tmpfs.c	Sat Jan 23 11:12:03 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: tmpfs.c,v 1.9 2011/05/29 01:00:50 rmind Exp $	*/
+/*	$NetBSD: tmpfs.c,v 1.10 2016/01/23 16:12:03 christos Exp $	*/
 
 /*-
  * Copyright (c) 2006 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: tmpfs.c,v 1.9 2011/05/29 01:00:50 rmind Exp $");
+__RCSID("$NetBSD: tmpfs.c,v 1.10 2016/01/23 16:12:03 christos Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -37,9 +37,7 @@ __RCSID("$NetBSD: tmpfs.c,v 1.9 2011/05/
 #include <sys/vnode.h>
 #include <sys/mount.h>
 
-#define	_KMEMUSER
 #include <fs/tmpfs/tmpfs.h>
-#undef _KMEMUSER
 
 #include <err.h>
 #include <kvm.h>

Reply via email to