diff options
Diffstat (limited to 'prototype/fw/src/crc32.h')
-rw-r--r-- | prototype/fw/src/crc32.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/prototype/fw/src/crc32.h b/prototype/fw/src/crc32.h index 7a3a729..c115820 100644 --- a/prototype/fw/src/crc32.h +++ b/prototype/fw/src/crc32.h @@ -5,8 +5,10 @@ typedef uint32_t crc32_t; -inline static uint32_t crc32_reset() { return ~0; } +inline static uint32_t crc32_reset(void); +uint32_t crc32_reset() { return ~0; } uint32_t crc32_update(uint32_t old_state, uint8_t c); -inline static uint32_t crc32_finalize(uint32_t state) { return ~state; } +inline static uint32_t crc32_finalize(uint32_t state); +uint32_t crc32_finalize(uint32_t state) { return ~state; } #endif /* __CRC_32_H__ */ |