From cbc57af0f3192093177d90861df72c4074566cf8 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Fri, 7 Feb 2014 18:18:16 +0100 Subject: Fix for HAVE_MULTIDRIVE on application builds. Change-Id: I089ea4756e0c824993c65062290c40b3e67f9181 --- firmware/target/hosted/filesystem-unix.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'firmware/target/hosted/filesystem-unix.c') diff --git a/firmware/target/hosted/filesystem-unix.c b/firmware/target/hosted/filesystem-unix.c index 7f49a5f91a..45b9e0fca1 100644 --- a/firmware/target/hosted/filesystem-unix.c +++ b/firmware/target/hosted/filesystem-unix.c @@ -43,8 +43,9 @@ long filesize(int fd) } /* do we really need this in the app? */ -void fat_size(unsigned long* size, unsigned long* free) +void fat_size(IF_MV(int volume,) unsigned long* size, unsigned long* free) { + IF_MV((void) volume); *size = *free = 0; } -- cgit v1.2.3