summaryrefslogtreecommitdiff
path: root/fs/udf/udfdecl.h
diff options
context:
space:
mode:
authormarcin.slusarz@gmail.com <marcin.slusarz@gmail.com>2008-02-27 22:38:38 +0100
committerJan Kara <jack@suse.cz>2008-04-17 14:22:24 +0200
commitc8ed837d371c24b678182a30e9f0b1f61dee212c (patch)
treee55b2be4c2445f0f9eb957867a3914cfdd9d1378 /fs/udf/udfdecl.h
parent34f953ddfd15da8feb5b8383c93c35dc57202b66 (diff)
downloadkernel-common-c8ed837d371c24b678182a30e9f0b1f61dee212c.tar.gz
kernel-common-c8ed837d371c24b678182a30e9f0b1f61dee212c.tar.bz2
kernel-common-c8ed837d371c24b678182a30e9f0b1f61dee212c.zip
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>
Diffstat (limited to 'fs/udf/udfdecl.h')
-rw-r--r--fs/udf/udfdecl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/udf/udfdecl.h b/fs/udf/udfdecl.h
index 2310b5c8fd8b..26bc9c237cb7 100644
--- a/fs/udf/udfdecl.h
+++ b/fs/udf/udfdecl.h
@@ -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);