summaryrefslogtreecommitdiffstats
path: root/src/md.h
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2008-09-18 08:35:38 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2008-09-18 08:35:38 +0200
commita54c2167b5b371a675c466ee56b13233dd7eba7f (patch)
tree4e1c5362e5ed137ff99df31c8926d4963158ba14 /src/md.h
parent7e852c95ea24f27657fb0ea19e08f8cfe89a4338 (diff)
Remove unexpected global variable in md.c
Diffstat (limited to 'src/md.h')
-rw-r--r--src/md.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/md.h b/src/md.h
index 4015871..9512025 100644
--- a/src/md.h
+++ b/src/md.h
@@ -240,7 +240,7 @@ struct mdp_superblock_1 {
* have a meaningful role.
*/
uint16_t dev_roles[0]; /* role in array, or 0xffff for a spare, or 0xfffe for faulty */
-} mdp_super1_t;
+};
static inline uint64_t md_event(mdp_super_t *sb) {
uint64_t ev = sb->events_hi;