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/export/fat.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'firmware/export') diff --git a/firmware/export/fat.h b/firmware/export/fat.h index 3bb895cdc8..c56d8f85f6 100644 --- a/firmware/export/fat.h +++ b/firmware/export/fat.h @@ -90,7 +90,7 @@ extern int fat_open(IF_MV2(int volume,) extern int fat_create_file(const char* name, struct fat_file* ent, struct fat_dir* dir); -extern int fat_readwrite(struct fat_file *ent, long sectorcount, +extern long fat_readwrite(struct fat_file *ent, long sectorcount, void* buf, bool write ); extern int fat_closewrite(struct fat_file *ent, long size, int attr); extern int fat_seek(struct fat_file *ent, unsigned long sector ); @@ -105,7 +105,7 @@ extern int fat_opendir(IF_MV2(int volume,) struct fat_dir *ent, unsigned long currdir, const struct fat_dir *parent_dir); extern int fat_getnext(struct fat_dir *ent, struct fat_direntry *entry); -extern int fat_get_cluster_size(IF_MV_NONVOID(int volume)); +extern unsigned int fat_get_cluster_size(IF_MV_NONVOID(int volume)); extern bool fat_ismounted(int volume); #endif -- cgit v1.2.3