projects
/
yaffs2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix some statics and remove unused function
[yaffs2.git]
/
yaffs_attribs.c
diff --git
a/yaffs_attribs.c
b/yaffs_attribs.c
index 241c08ae58ae2cca960976762bb341879540cfa1..3d778f2266248d47658eacc0882ef13ef720a668 100644
(file)
--- a/
yaffs_attribs.c
+++ b/
yaffs_attribs.c
@@
-1,7
+1,7
@@
/*
* YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
*
/*
* YAFFS: Yet Another Flash File System. A NAND-flash specific file system.
*
- * Copyright (C) 2002-201
0
Aleph One Ltd.
+ * Copyright (C) 2002-201
1
Aleph One Ltd.
* for Toby Churchill Ltd and Brightstar Engineering
*
* Created by Charles Manning <charles@aleph1.co.uk>
* for Toby Churchill Ltd and Brightstar Engineering
*
* Created by Charles Manning <charles@aleph1.co.uk>
@@
-52,7
+52,7
@@
void yaffs_attribs_init(struct yaffs_obj *obj, u32 gid, u32 uid, u32 rdev)
obj->yst_gid = gid;
}
obj->yst_gid = gid;
}
-loff_t yaffs_get_file_size(struct yaffs_obj *obj)
+
static
loff_t yaffs_get_file_size(struct yaffs_obj *obj)
{
YCHAR *alias = NULL;
obj = yaffs_get_equivalent_obj(obj);
{
YCHAR *alias = NULL;
obj = yaffs_get_equivalent_obj(obj);
@@
-64,7
+64,7
@@
loff_t yaffs_get_file_size(struct yaffs_obj *obj)
alias = obj->variant.symlink_variant.alias;
if (!alias)
return 0;
alias = obj->variant.symlink_variant.alias;
if (!alias)
return 0;
- return
yaffs_
strnlen(alias, YAFFS_MAX_ALIAS_LENGTH);
+ return strnlen(alias, YAFFS_MAX_ALIAS_LENGTH);
default:
return 0;
}
default:
return 0;
}