Compiling error with devkitPPC 29
This is a port of libext2fs for the Wii.
Brought to you by:
dimok789
I get this error compiling from SVN
crc32c.c
/media/hdd/Wii/libext2fs-wii/source/./crc32c.c:379:10: error: conflicting types for 'ext2fs_crc32c_le'
uint32_t ext2fs_crc32c_le(uint32_t crc, unsigned char const *p, size_t len)
^~~~~~~~~~~~~~~~
In file included from /media/hdd/Wii/libext2fs-wii/source/./crc32c.c:43:0:
/media/hdd/Wii/libext2fs-wii/source/./ext2fs.h:922:14: note: previous declaration of 'ext2fs_crc32c_le' was here
extern __u32 ext2fs_crc32c_le(__u32 crc, unsigned char const *p, size_t len);
^~~~~~~~~~~~~~~~
/media/hdd/Wii/libext2fs-wii/source/./crc32c.c:420:10: error: conflicting types for 'ext2fs_crc32c_be'
uint32_t ext2fs_crc32c_be(uint32_t crc, unsigned char const *p, size_t len)
^~~~~~~~~~~~~~~~
In file included from /media/hdd/Wii/libext2fs-wii/source/./crc32c.c:43:0:
/media/hdd/Wii/libext2fs-wii/source/./ext2fs.h:921:14: note: previous declaration of 'ext2fs_crc32c_be' was here
extern __u32 ext2fs_crc32c_be(__u32 crc, unsigned char const *p, size_t len);
I have replaced u32 with uint32_t but I don't know if is the correct aproach