[PATCH] security/min_addr.c: make init_mmap_min_addr() static

From: H Hartley Sweeten
Date: Fri Oct 16 2009 - 20:49:13 EST


init_mmap_min_addr() is a pure_initcall and should be static.

Signed-off-by: H Hartley Sweeten <hsweeten@xxxxxxxxxxxxxxxxxxx>

---

diff --git a/security/min_addr.c b/security/min_addr.c
index c844eed..e92cc99 100644
--- a/security/min_addr.c
+++ b/security/min_addr.c
@@ -40,7 +40,7 @@ int mmap_min_addr_handler(struct ctl_table *table, int write,
return ret;
}

-int __init init_mmap_min_addr(void)
+static int __init init_mmap_min_addr(void)
{
update_mmap_min_addr();

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/