mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-12-27 12:21:57 +01:00
19 lines
237 B
C
19 lines
237 B
C
|
|
||
|
#ifndef CRC32_H
|
||
|
#define CRC32_H
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
extern "C"
|
||
|
{
|
||
|
#endif
|
||
|
|
||
|
#define UPDC32(octet, crc) (crc_32_tab[((crc)\
|
||
|
^ (octet)) & 0xff] ^ ((crc) >> 8))
|
||
|
|
||
|
u32 crc32file(char *name);
|
||
|
|
||
|
#ifdef __cplusplus
|
||
|
}
|
||
|
#endif
|
||
|
#endif /* CRC32_H */
|