Source-Changes-HG archive

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

[src/trunk]: src undo mallocvar.h change!



details:   https://anonhg.NetBSD.org/src/rev/9e80904f6bf6
branches:  trunk
changeset: 542586:9e80904f6bf6
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Feb 02 02:25:50 2003 +0000

description:
undo mallocvar.h change!

diffstat:

 lib/libkvm/kvm_file.c  |  7 ++-----
 usr.sbin/pstat/pstat.c |  7 ++-----
 2 files changed, 4 insertions(+), 10 deletions(-)

diffs (53 lines):

diff -r 67b13ea2e8e0 -r 9e80904f6bf6 lib/libkvm/kvm_file.c
--- a/lib/libkvm/kvm_file.c     Sun Feb 02 02:22:14 2003 +0000
+++ b/lib/libkvm/kvm_file.c     Sun Feb 02 02:25:50 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kvm_file.c,v 1.21 2003/02/01 21:12:27 tron Exp $       */
+/*     $NetBSD: kvm_file.c,v 1.22 2003/02/02 02:26:48 christos Exp $   */
 
 /*-
  * Copyright (c) 1989, 1992, 1993
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)kvm_file.c 8.1 (Berkeley) 6/4/93";
 #else
-__RCSID("$NetBSD: kvm_file.c,v 1.21 2003/02/01 21:12:27 tron Exp $");
+__RCSID("$NetBSD: kvm_file.c,v 1.22 2003/02/02 02:26:48 christos Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -50,9 +50,6 @@
  */
 
 #include <sys/param.h>
-#define _KERNEL
-#include <sys/mallocvar.h>
-#undef _KERNEL
 #include <sys/user.h>
 #include <sys/lwp.h>
 #include <sys/proc.h>
diff -r 67b13ea2e8e0 -r 9e80904f6bf6 usr.sbin/pstat/pstat.c
--- a/usr.sbin/pstat/pstat.c    Sun Feb 02 02:22:14 2003 +0000
+++ b/usr.sbin/pstat/pstat.c    Sun Feb 02 02:25:50 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pstat.c,v 1.78 2003/02/01 21:05:54 tron Exp $  */
+/*     $NetBSD: pstat.c,v 1.79 2003/02/02 02:25:50 christos Exp $      */
 
 /*-
  * Copyright (c) 1980, 1991, 1993, 1994
@@ -43,14 +43,11 @@
 #if 0
 static char sccsid[] = "@(#)pstat.c    8.16 (Berkeley) 5/9/95";
 #else
-__RCSID("$NetBSD: pstat.c,v 1.78 2003/02/01 21:05:54 tron Exp $");
+__RCSID("$NetBSD: pstat.c,v 1.79 2003/02/02 02:25:50 christos Exp $");
 #endif
 #endif /* not lint */
 
 #include <sys/param.h>
-#define _KERNEL
-#include <sys/mallocvar.h>
-#undef _KERNEL
 #include <sys/time.h>
 #include <sys/vnode.h>
 #include <sys/ucred.h>



Home | Main Index | Thread Index | Old Index