diff options
author | marcin.slusarz@gmail.com <marcin.slusarz@gmail.com> | 2008-01-30 16:03:51 -0500 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2008-04-17 08:22:23 -0400 |
commit | 79cfe0ff5fb585b92126365a2881262945ac0ee9 (patch) | |
tree | 02896a68c64d83536f4cfb52557fe6e508f6fe5f /fs/udf/udfdecl.h | |
parent | b8145a769765ce9688eb84080d4c48b22a3553f2 (diff) |
udf: udf_CS0toUTF8 cleanup
- fix error handling - always zero output variable
- don't zero explicitely fields zeroed by memset
- mark "in" paramater as const
- remove outdated comment
Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/udf/udfdecl.h')
-rw-r--r-- | fs/udf/udfdecl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/udf/udfdecl.h b/fs/udf/udfdecl.h index d3aae5633722..2310b5c8fd8b 100644 --- a/fs/udf/udfdecl.h +++ b/fs/udf/udfdecl.h | |||
@@ -175,7 +175,7 @@ extern int udf_get_filename(struct super_block *, uint8_t *, uint8_t *, int); | |||
175 | extern int udf_put_filename(struct super_block *, const uint8_t *, uint8_t *, | 175 | extern int udf_put_filename(struct super_block *, const uint8_t *, uint8_t *, |
176 | int); | 176 | int); |
177 | extern int udf_build_ustr(struct ustr *, dstring *, int); | 177 | extern int udf_build_ustr(struct ustr *, dstring *, int); |
178 | extern int udf_CS0toUTF8(struct ustr *, struct ustr *); | 178 | extern int udf_CS0toUTF8(struct ustr *, const struct ustr *); |
179 | 179 | ||
180 | /* ialloc.c */ | 180 | /* ialloc.c */ |
181 | extern void udf_free_inode(struct inode *); | 181 | extern void udf_free_inode(struct inode *); |