From 5da99ed57079cb9100a0ae790ba2abc1496d0559 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Bernardy Date: Sat, 26 Feb 2005 21:18:05 +0000 Subject: long policy git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6071 a1c6a512-1295-4272-9138-f99709370657 --- firmware/drivers/fat.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'firmware/drivers') diff --git a/firmware/drivers/fat.c b/firmware/drivers/fat.c index 9056870bc5..465adec479 100644 --- a/firmware/drivers/fat.c +++ b/firmware/drivers/fat.c @@ -1940,7 +1940,7 @@ int fat_rename(struct fat_file* file, return 0; } -static int next_write_cluster(struct fat_file* file, +static long next_write_cluster(struct fat_file* file, long oldcluster, long* newsector) { @@ -2032,7 +2032,7 @@ static int transfer(IF_MV2(struct bpb* fat_bpb,) } -int fat_readwrite( struct fat_file *file, long sectorcount, +long fat_readwrite( struct fat_file *file, long sectorcount, void* buf, bool write ) { #ifdef HAVE_MULTIVOLUME @@ -2406,7 +2406,7 @@ int fat_getnext(struct fat_dir *dir, struct fat_direntry *entry) return 0; } -int fat_get_cluster_size(IF_MV_NONVOID(int volume)) +unsigned int fat_get_cluster_size(IF_MV_NONVOID(int volume)) { #ifndef HAVE_MULTIVOLUME const int volume = 0; -- cgit v1.2.3