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: firefly_0821_release~11887^2~8 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=1b98c00bf3a8a417be6412d8a3ed867a72b18f68;p=firefly-linux-kernel-4.4.55.git 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 3ec4f2a22585..4793c6aac733 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);