]> Zhao Yanbai Git Server - minix.git/commit
Clean up MFS a bit:
authorThomas Veerman <thomas@minix3.org>
Tue, 1 Jun 2010 12:35:33 +0000 (12:35 +0000)
committerThomas Veerman <thomas@minix3.org>
Tue, 1 Jun 2010 12:35:33 +0000 (12:35 +0000)
commit6bbcab3ec43ee3fa9f5ced0fd7fe99f384392cc0
tree1066776c85a5808ca9962d36294fb3e16d9e1b9a
parentcc6fed4c517428561c95c42bb5077f16f3941027
Clean up MFS a bit:
 - Remove unused includes.
 - Add include guards to headers.
 - Use unsigned variables in case they're never going to hold a negative
   value. This causes GCC's complaints to disappear and should make flexelint
   a lot happier, too.
 - Make functions private when they're used only within a module.
 - Remove unused variables.
 - Add casts where appropriate.
31 files changed:
include/minix/const.h
include/minix/dmap.h
lib/libsys/safecopies.c
servers/mfs/buf.h
servers/mfs/cache.c
servers/mfs/const.h
servers/mfs/device.c
servers/mfs/drivers.h
servers/mfs/fs.h
servers/mfs/glo.h
servers/mfs/inc.h [deleted file]
servers/mfs/inode.c
servers/mfs/inode.h
servers/mfs/link.c
servers/mfs/main.c
servers/mfs/misc.c
servers/mfs/mount.c
servers/mfs/open.c
servers/mfs/path.c
servers/mfs/protect.c
servers/mfs/proto.h
servers/mfs/read.c
servers/mfs/stadir.c
servers/mfs/super.c
servers/mfs/super.h
servers/mfs/table.c
servers/mfs/time.c
servers/mfs/type.h
servers/mfs/utility.c
servers/mfs/write.c
servers/vfs/const.h