blob: c790149bb05783b43c1b8bcec966456660b793d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
diff -ur raidtools-1.00.3/list.h raidtools-1.00.3.plasmaroo/list.h
--- raidtools-1.00.3/list.h 2003-01-15 08:58:25.000000000 +0000
+++ raidtools-1.00.3.plasmaroo/list.h 2004-07-18 12:25:15.000000000 +0100
@@ -14,6 +14,11 @@
* using the generic single-entry routines.
*/
+#define _LINUX_LIST_H
+struct hlist_node {
+ struct hlist_node *next, **pprev;
+};
+
struct list_head {
struct list_head *next, *prev;
};
diff -ur raidtools-1.00.3/lsraid.c raidtools-1.00.3.plasmaroo/lsraid.c
--- raidtools-1.00.3/lsraid.c 2003-01-15 08:58:25.000000000 +0000
+++ raidtools-1.00.3.plasmaroo/lsraid.c 2004-07-18 12:25:19.000000000 +0100
@@ -40,16 +40,15 @@
#include <unistd.h>
#include <errno.h>
+/* Local copies of things I use - Clean up later */
+#include "list.h"
+
#include <linux/types.h>
#include <linux/major.h>
#include <linux/fs.h>
#include <linux/raid/md_u.h>
#include <linux/raid/md_p.h>
-/* Local copies of things I use - Clean up later */
-#include "list.h"
-
-
/*
* Defines
*/
diff -ur raidtools-1.00.3/raid_io.h raidtools-1.00.3.plasmaroo/raid_io.h
--- raidtools-1.00.3/raid_io.h.old 2005-04-07 15:25:24.937871896 -0600
+++ raidtools-1.00.3/raid_io.h 2005-04-07 15:25:35.315801456 -0600
@@ -12,7 +12,7 @@
#include "common.h"
#include "raidlib.h"
-void progress (unsigned long blocks, unsigned long current);
+void progress (unsigned long blocks, unsigned long _current_);
long long raidseek (unsigned int fd, unsigned long blk);
extern void print_sb (mdp_super_t *sb);
|