From: Josh Triplett Date: Fri, 16 Oct 2009 21:06:13 +0000 (-0700) Subject: Documentation/vm/page-types.c: Declare checked_open static X-Git-Tag: v2.6.32-rc8~33^2~8 X-Git-Url: http://pileus.org/git/?a=commitdiff_plain;h=1b98c00bf3a8a417be6412d8a3ed867a72b18f68;p=~andy%2Flinux Documentation/vm/page-types.c: Declare checked_open static Nothing outside of Documentation/vm/page-types.c references checked_open. Signed-off-by: Josh Triplett --- diff --git a/Documentation/vm/page-types.c b/Documentation/vm/page-types.c index 3ec4f2a2258..4793c6aac73 100644 --- a/Documentation/vm/page-types.c +++ b/Documentation/vm/page-types.c @@ -218,7 +218,7 @@ static void fatal(const char *x, ...) exit(EXIT_FAILURE); } -int checked_open(const char *pathname, int flags) +static int checked_open(const char *pathname, int flags) { int fd = open(pathname, flags);