diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-10-22 14:18:43 +0300 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2008-10-22 15:29:00 +0300 |
commit | d217a4e65084b0ef807e5749513bff16ddfb0b58 (patch) | |
tree | dca151c5d9bd2f8399684131f54b0bd7bd7c4588 /mkfs.ubifs/crc32.h | |
parent | d055f1c3e5dad8c0a73a511e1b8d2f82c9b7ab01 (diff) |
UBIFS: rename crc32 function
Zlib headers also declare crc32 symbol and it confilicts
with our crc32 fuction. So rename it.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'mkfs.ubifs/crc32.h')
-rw-r--r-- | mkfs.ubifs/crc32.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mkfs.ubifs/crc32.h b/mkfs.ubifs/crc32.h index 4b51177..86fc841 100644 --- a/mkfs.ubifs/crc32.h +++ b/mkfs.ubifs/crc32.h @@ -10,7 +10,7 @@ extern const uint32_t crc32_table[256]; /* Return a 32-bit CRC of the contents of the buffer. */ -static inline uint32_t crc32(uint32_t val, const void *ss, int len) +static inline uint32_t ubifs_crc32(uint32_t val, const void *ss, int len) { const unsigned char *s = ss; |