direct: Fix definition of yaffs_get_file_size function
authorCharles Manning <cdhmanning@gmail.com>
Wed, 12 Dec 2012 21:26:28 +0000 (10:26 +1300)
committerCharles Manning <cdhmanning@gmail.com>
Wed, 12 Dec 2012 21:26:28 +0000 (10:26 +1300)
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
direct/yaffs_attribs.c

index 648e137..767af96 100644 (file)
@@ -80,7 +80,7 @@ void yaffs_load_current_time(struct yaffs_obj *obj, int do_a, int do_c)
 #endif
 }
 
-loff_t yaffs_get_file_size(struct yaffs_obj *obj)
+static Y_LOFF_T yaffs_get_file_size(struct yaffs_obj *obj)
 {
        YCHAR *alias = NULL;
        obj = yaffs_get_equivalent_obj(obj);