vold: suppress unused argument warning messages
Change-Id: Ic1ab533f756fbd44b1f2e5ae12e2f5736ace7740
diff --git a/fstrim.c b/fstrim.c
index 2bd0577..9a6637d 100644
--- a/fstrim.c
+++ b/fstrim.c
@@ -37,6 +37,8 @@
#define FSTRIM_WAKELOCK "dofstrim"
+#define UNUSED __attribute__((unused))
+
static unsigned long long get_boot_time_ms(void)
{
struct timespec t;
@@ -50,7 +52,7 @@
return time_ms;
}
-static void *do_fstrim_filesystems(void *ignored)
+static void *do_fstrim_filesystems(void *ignored UNUSED)
{
int i;
int fd;