Skip to content

Commit

Permalink
security/min_addr.c: make init_mmap_min_addr() static
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
H Hartley Sweeten authored and James Morris committed Dec 16, 2009
1 parent fa1cc7b commit dd880fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion security/min_addr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit dd880fb

Please sign in to comment.