summaryrefslogtreecommitdiffstats
path: root/super0.c
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2008-07-12 20:27:39 +1000
committerNeil Brown <neilb@suse.de>2008-07-12 20:27:39 +1000
commitec9688ca701adbe8b0dda032d6993c695f24091f (patch)
treeb211a09ba4907d5100984ac5186c8c43b82a009e /super0.c
parent78e449282e0c0629089f2bd15e79e0c723a84cb3 (diff)
downloadmdadm-ec9688ca701adbe8b0dda032d6993c695f24091f.tar.gz
mdadm-ec9688ca701adbe8b0dda032d6993c695f24091f.tar.xz
mdadm-ec9688ca701adbe8b0dda032d6993c695f24091f.zip
Make super super0.c function static.
So only 'super0' is externally visible.
Diffstat (limited to 'super0.c')
-rw-r--r--super0.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/super0.c b/super0.c
index 1e06375..dc8af8f 100644
--- a/super0.c
+++ b/super0.c
@@ -53,7 +53,7 @@ static unsigned long calc_sb0_csum(mdp_super_t *super)
}
-void super0_swap_endian(struct mdp_superblock_s *sb)
+static void super0_swap_endian(struct mdp_superblock_s *sb)
{
/* as super0 superblocks are host-endian, it is sometimes
* useful to be able to swap the endianness
@@ -957,7 +957,7 @@ static int add_internal_bitmap0(struct supertype *st, int *chunkp,
}
-void locate_bitmap0(struct supertype *st, int fd)
+static void locate_bitmap0(struct supertype *st, int fd)
{
unsigned long long dsize;
unsigned long long offset;
@@ -977,7 +977,7 @@ void locate_bitmap0(struct supertype *st, int fd)
lseek64(fd, offset, 0);
}
-int write_bitmap0(struct supertype *st, int fd)
+static int write_bitmap0(struct supertype *st, int fd)
{
unsigned long long dsize;
unsigned long long offset;