Source-Changes-HG archive

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

[src/trunk]: src/usr.bin/fstat put _KMEMUSER in the Makefile



details:   https://anonhg.NetBSD.org/src/rev/c2829c9f00f8
branches:  trunk
changeset: 343143:c2829c9f00f8
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Jan 23 16:12:03 2016 +0000

description:
put _KMEMUSER in the Makefile

diffstat:

 usr.bin/fstat/Makefile |  3 ++-
 usr.bin/fstat/misc.c   |  5 ++---
 usr.bin/fstat/tmpfs.c  |  6 ++----
 3 files changed, 6 insertions(+), 8 deletions(-)

diffs (65 lines):

diff -r f1ac593b78da -r c2829c9f00f8 usr.bin/fstat/Makefile
--- a/usr.bin/fstat/Makefile    Sat Jan 23 16:08:20 2016 +0000
+++ b/usr.bin/fstat/Makefile    Sat Jan 23 16:12:03 2016 +0000
@@ -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 @@
 .if (${USE_INET6} != "no")
 CPPFLAGS+=-DINET6
 .endif
+CPPFLAGS+=-D_KMEMUSER
 
 LDADD+=-lutil
 DPADD+=${LIBUTIL}
diff -r f1ac593b78da -r c2829c9f00f8 usr.bin/fstat/misc.c
--- a/usr.bin/fstat/misc.c      Sat Jan 23 16:08:20 2016 +0000
+++ b/usr.bin/fstat/misc.c      Sat Jan 23 16:12:03 2016 +0000
@@ -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>
diff -r f1ac593b78da -r c2829c9f00f8 usr.bin/fstat/tmpfs.c
--- a/usr.bin/fstat/tmpfs.c     Sat Jan 23 16:08:20 2016 +0000
+++ b/usr.bin/fstat/tmpfs.c     Sat Jan 23 16:12:03 2016 +0000
@@ -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 @@
 #include <sys/vnode.h>
 #include <sys/mount.h>
 
-#define        _KMEMUSER
 #include <fs/tmpfs/tmpfs.h>
-#undef _KMEMUSER
 
 #include <err.h>
 #include <kvm.h>



Home | Main Index | Thread Index | Old Index