summarylogtreecommitdiffstats
path: root/libext2fs-wii-fix_crc32_int_type.patch
blob: a24c00640cecc83db7ed214a051c04816a395211 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff -Naur libext2fs-wii-1.0.5.old/source/ext2fs.h libext2fs-wii-1.0.5/source/ext2fs.h
--- libext2fs-wii-1.0.5.old/source/ext2fs.h	2016-11-20 19:28:25.332242000 +0100
+++ libext2fs-wii-1.0.5/source/ext2fs.h	2016-11-20 19:31:31.931650727 +0100
@@ -48,6 +48,7 @@
 #ifdef HAVE_SYS_TYPES_H
 #include <sys/types.h>
 #endif
+#include <stdint.h>
 
 #include <stdio.h>
 #include <stdlib.h>
@@ -918,8 +919,8 @@
 extern void ext2fs_update_dynamic_rev(ext2_filsys fs);
 
 /* crc32c.c */
-extern __u32 ext2fs_crc32c_be(__u32 crc, unsigned char const *p, size_t len);
-extern __u32 ext2fs_crc32c_le(__u32 crc, unsigned char const *p, size_t len);
+extern uint32_t ext2fs_crc32c_be(uint32_t crc, unsigned char const *p, size_t len);
+extern uint32_t ext2fs_crc32c_le(uint32_t crc, unsigned char const *p, size_t len);
 
 /* csum.c */
 extern void ext2fs_group_desc_csum_set(ext2_filsys fs, dgrp_t group);