Module Name:    src
Committed By:   joerg
Date:           Fri Feb  3 04:29:17 UTC 2012

Modified Files:
        src/sys/fs/msdosfs: msdosfsmount.h

Log Message:
Only use MALLOC_DECLARE if it exists. Helps with the dirty _KERNEL
tricks fstat is using.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/fs/msdosfs/msdosfsmount.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/fs/msdosfs/msdosfsmount.h
diff -u src/sys/fs/msdosfs/msdosfsmount.h:1.15 src/sys/fs/msdosfs/msdosfsmount.h:1.16
--- src/sys/fs/msdosfs/msdosfsmount.h:1.15	Sat Jun 28 01:34:05 2008
+++ src/sys/fs/msdosfs/msdosfsmount.h	Fri Feb  3 04:29:17 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: msdosfsmount.h,v 1.15 2008/06/28 01:34:05 rumble Exp $	*/
+/*	$NetBSD: msdosfsmount.h,v 1.16 2012/02/03 04:29:17 joerg Exp $	*/
 
 /*-
  * Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank.
@@ -92,8 +92,10 @@ struct msdosfs_args {
 
 #ifdef _KERNEL
 #include <sys/mallocvar.h>
+#ifdef MALLOC_DECLARE
 MALLOC_DECLARE(M_MSDOSFSMNT);
 MALLOC_DECLARE(M_MSDOSFSTMP);
+#endif
 
 /*
  * Layout of the mount control block for a msdos file system.

Reply via email to