mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-29 01:51:39 +00:00
udf: constify crc
- constify internal crc table - mark udf_crc "in" parameter as const Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Signed-off-by: Jan Kara <jack@suse.cz>
This commit is contained in:
parent
34f953ddfd
commit
c8ed837d37
2 changed files with 3 additions and 3 deletions
|
@ -210,7 +210,7 @@ extern long_ad *udf_get_filelongad(uint8_t *, int, uint32_t *, int);
|
|||
extern short_ad *udf_get_fileshortad(uint8_t *, int, uint32_t *, int);
|
||||
|
||||
/* crc.c */
|
||||
extern uint16_t udf_crc(uint8_t *, uint32_t, uint16_t);
|
||||
extern uint16_t udf_crc(const uint8_t *, uint32_t, uint16_t);
|
||||
|
||||
/* udftime.c */
|
||||
extern time_t *udf_stamp_to_time(time_t *, long *, kernel_timestamp);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue