dm: mark function lists static
authorAlasdair G Kergon <agk@redhat.com>
Fri, 8 Feb 2008 02:09:51 +0000 (02:09 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 8 Feb 2008 02:09:51 +0000 (02:09 +0000)
Add a couple of statics.

Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm.c

index 466a6bf0742f98c51337735aeae732d7cac122c5..5f0f559d3b92a94ada9c0ddd29c67ceeccd273ad 100644 (file)
@@ -181,7 +181,7 @@ static void local_exit(void)
        DMINFO("cleaned up");
 }
 
-int (*_inits[])(void) __initdata = {
+static int (*_inits[])(void) __initdata = {
        local_init,
        dm_target_init,
        dm_linear_init,
@@ -189,7 +189,7 @@ int (*_inits[])(void) __initdata = {
        dm_interface_init,
 };
 
-void (*_exits[])(void) = {
+static void (*_exits[])(void) = {
        local_exit,
        dm_target_exit,
        dm_linear_exit,