security/min_addr.c: make init_mmap_min_addr() static
H Hartley Sweeten [Tue, 15 Dec 2009 23:05:12 +0000 (15:05 -0800)]
init_mmap_min_addr() is a pure_initcall and should be static.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: James Morris <jmorris@namei.org>

security/min_addr.c

index fc43c9d..e86f297 100644 (file)
@@ -43,7 +43,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();