Source-Changes-HG archive

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

[src/trunk]: src/sys/fs/msdosfs don't need sys/mount.h in userland.



details:   https://anonhg.NetBSD.org/src/rev/b8bb5f5cb27d
branches:  trunk
changeset: 784402:b8bb5f5cb27d
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jan 27 22:04:19 2013 +0000

description:
don't need sys/mount.h in userland.

diffstat:

 sys/fs/msdosfs/msdosfs_fat.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 37d10e423216 -r b8bb5f5cb27d sys/fs/msdosfs/msdosfs_fat.c
--- a/sys/fs/msdosfs/msdosfs_fat.c      Sun Jan 27 21:56:26 2013 +0000
+++ b/sys/fs/msdosfs/msdosfs_fat.c      Sun Jan 27 22:04:19 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: msdosfs_fat.c,v 1.26 2013/01/27 20:15:58 christos Exp $        */
+/*     $NetBSD: msdosfs_fat.c,v 1.27 2013/01/27 22:04:19 christos Exp $        */
 
 /*-
  * Copyright (C) 1994, 1995, 1997 Wolfgang Solfrank.
@@ -52,15 +52,15 @@
 #endif
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: msdosfs_fat.c,v 1.26 2013/01/27 20:15:58 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: msdosfs_fat.c,v 1.27 2013/01/27 22:04:19 christos Exp $");
 
 /*
  * kernel include files.
  */
 #include <sys/param.h>
 #include <sys/file.h>
+#ifdef _KERNEL
 #include <sys/mount.h>         /* to define statvfs structure */
-#ifdef _KERNEL
 #include <sys/errno.h>
 #include <sys/systm.h>
 #include <sys/kauth.h>



Home | Main Index | Thread Index | Old Index