Re: [PATCH 3/9] mm: Mark function as static in mmap.c

From: David Rientjes
Date: Fri Feb 07 2014 - 15:48:09 EST


On Fri, 7 Feb 2014, Rashika Kheria wrote:

> Mark function as static in mmap.c because they are not used outside this
> file.
>
> This eliminates the following warning in mm/mmap.c:
> mm/mmap.c:407:6: warning: no previous prototype for âvalidate_mmâ [-Wmissing-prototypes]
>
> Signed-off-by: Rashika Kheria <rashika.kheria@xxxxxxxxx>
> Reviewed-by: Josh Triplett <josh@xxxxxxxxxxxxxxxx>

Acked-by: David Rientjes <rientjes@xxxxxxxxxx>