summaryrefslogtreecommitdiffstats
path: root/Documentation/vm
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2009-10-16 23:06:13 +0200
committerJosh Triplett <josh@joshtriplett.org>2009-11-16 00:01:38 +0100
commit1b98c00bf3a8a417be6412d8a3ed867a72b18f68 (patch)
tree589927cbe85bb72273131d91965dbb1b99c63766 /Documentation/vm
parentgenksyms: Mark is_reserved_word static (diff)
downloadlinux-1b98c00bf3a8a417be6412d8a3ed867a72b18f68.tar.xz
linux-1b98c00bf3a8a417be6412d8a3ed867a72b18f68.zip
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 <josh@joshtriplett.org>
Diffstat (limited to 'Documentation/vm')
-rw-r--r--Documentation/vm/page-types.c2
1 files changed, 1 insertions, 1 deletions
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);