Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/fstat Include "sys/mallocvar.h" with "_KERNEL" defin...
details: https://anonhg.NetBSD.org/src/rev/f6b21acf6d4c
branches: trunk
changeset: 542566:f6b21acf6d4c
user: tron <tron%NetBSD.org@localhost>
date: Sat Feb 01 18:31:09 2003 +0000
description:
Include "sys/mallocvar.h" with "_KERNEL" defined in time to avoid
build failure because MALLOC_DECLARE() is not defined.
diffstat:
usr.bin/fstat/fstat.c | 7 +++++--
usr.bin/fstat/isofs.c | 7 +++++--
usr.bin/fstat/ntfs.c | 7 +++++--
3 files changed, 15 insertions(+), 6 deletions(-)
diffs (71 lines):
diff -r dae331685ed4 -r f6b21acf6d4c usr.bin/fstat/fstat.c
--- a/usr.bin/fstat/fstat.c Sat Feb 01 17:59:47 2003 +0000
+++ b/usr.bin/fstat/fstat.c Sat Feb 01 18:31:09 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fstat.c,v 1.59 2003/01/20 06:20:37 martin Exp $ */
+/* $NetBSD: fstat.c,v 1.60 2003/02/01 18:31:09 tron Exp $ */
/*-
* Copyright (c) 1988, 1993
@@ -43,11 +43,14 @@
#if 0
static char sccsid[] = "@(#)fstat.c 8.3 (Berkeley) 5/2/95";
#else
-__RCSID("$NetBSD: fstat.c,v 1.59 2003/01/20 06:20:37 martin Exp $");
+__RCSID("$NetBSD: fstat.c,v 1.60 2003/02/01 18:31:09 tron Exp $");
#endif
#endif /* not lint */
#include <sys/param.h>
+#define _KERNEL
+#include <sys/mallocvar.h>
+#undef _KERNEL
#include <sys/time.h>
#include <sys/proc.h>
#include <sys/user.h>
diff -r dae331685ed4 -r f6b21acf6d4c usr.bin/fstat/isofs.c
--- a/usr.bin/fstat/isofs.c Sat Feb 01 17:59:47 2003 +0000
+++ b/usr.bin/fstat/isofs.c Sat Feb 01 18:31:09 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: isofs.c,v 1.1 1999/02/18 06:09:25 lukem Exp $ */
+/* $NetBSD: isofs.c,v 1.2 2003/02/01 18:31:09 tron Exp $ */
/*-
* Copyright (c) 1988, 1993
* The Regents of the University of California. All rights reserved.
@@ -33,9 +33,12 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: isofs.c,v 1.1 1999/02/18 06:09:25 lukem Exp $");
+__RCSID("$NetBSD: isofs.c,v 1.2 2003/02/01 18:31:09 tron Exp $");
#include <sys/param.h>
+#define _KERNEL
+#include <sys/mallocvar.h>
+#undef _KERNEL
#include <sys/time.h>
#include <sys/proc.h>
#include <sys/user.h>
diff -r dae331685ed4 -r f6b21acf6d4c usr.bin/fstat/ntfs.c
--- a/usr.bin/fstat/ntfs.c Sat Feb 01 17:59:47 2003 +0000
+++ b/usr.bin/fstat/ntfs.c Sat Feb 01 18:31:09 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ntfs.c,v 1.6 2000/02/04 10:43:34 jdolecek Exp $ */
+/* $NetBSD: ntfs.c,v 1.7 2003/02/01 18:31:09 tron Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -37,9 +37,12 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: ntfs.c,v 1.6 2000/02/04 10:43:34 jdolecek Exp $");
+__RCSID("$NetBSD: ntfs.c,v 1.7 2003/02/01 18:31:09 tron Exp $");
#include <sys/param.h>
+#define _KERNEL
+#include <sys/mallocvar.h>
+#undef _KERNEL
#include <sys/time.h>
#include <sys/proc.h>
#include <sys/user.h>
Home |
Main Index |
Thread Index |
Old Index