1consolidate use of stdint types
2
3Change u_int*_t to uint*_t for compatibility with a larger number of C
4libraries.
5
6Signed-off-by: Doug Kehn <rdkehn@yahoo.com>
7
8Index: sp-oops-extract-0.0.7-1/src/oopslog.c
9===================================================================
10--- sp-oops-extract-0.0.7-1.orig/src/oopslog.c
11+++ sp-oops-extract-0.0.7-1/src/oopslog.c
12@@ -64,8 +64,8 @@ static int try_to_check_for_bad_blocks(v
13
14 int main(const int argc, const char *argv[])
15 {
16-	u_int32_t *count, maxcount = 0xffffffff;
17-	u_int32_t *magic_ptr, magic_value = 0x5d005d00;
18+	uint32_t *count, maxcount = 0xffffffff;
19+	uint32_t *magic_ptr, magic_value = 0x5d005d00;
20
21 	unsigned char *charbuf;
22 	unsigned long size;
23@@ -137,8 +137,8 @@ int main(const int argc, const char *arg
24 		errx(-1, "%s is something weird", device);
25
26 	charbuf = buf;
27-	count = (u_int32_t *) buf;
28-	magic_ptr = (u_int32_t *) (buf + sizeof(u_int32_t));
29+	count = (uint32_t *) buf;
30+	magic_ptr = (uint32_t *) (buf + sizeof(uint32_t));
31
32 	for (i = 0; i < (size / OOPS_PAGE_SIZE); i++) {
33 		pread(fd, buf, OOPS_PAGE_SIZE, i * OOPS_PAGE_SIZE);
34