]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - bitmap.c
Merge branch 'cluster'
[thirdparty/mdadm.git] / bitmap.c
index 0c3f6dead591cf40e9351a7f77208bbf3c606cb1..60865bccb8ae9253d1c0f31d66a39929d3975eca 100644 (file)
--- a/bitmap.c
+++ b/bitmap.c
@@ -20,7 +20,7 @@
 
 #include "mdadm.h"
 
-inline void sb_le_to_cpu(bitmap_super_t *sb)
+static inline void sb_le_to_cpu(bitmap_super_t *sb)
 {
        sb->magic = __le32_to_cpu(sb->magic);
        sb->version = __le32_to_cpu(sb->version);
@@ -36,7 +36,7 @@ inline void sb_le_to_cpu(bitmap_super_t *sb)
        sb->sectors_reserved = __le32_to_cpu(sb->sectors_reserved);
 }
 
-inline void sb_cpu_to_le(bitmap_super_t *sb)
+static inline void sb_cpu_to_le(bitmap_super_t *sb)
 {
        sb_le_to_cpu(sb); /* these are really the same thing */
 }
@@ -76,7 +76,7 @@ typedef struct bitmap_info_s {
 } bitmap_info_t;
 
 /* count the dirty bits in the first num_bits of byte */
-inline int count_dirty_bits_byte(char byte, int num_bits)
+static inline int count_dirty_bits_byte(char byte, int num_bits)
 {
        int num = 0;