summaryrefslogtreecommitdiffstats
path: root/Documentation/vm
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2009-10-16 14:06:13 -0700
committerJosh Triplett <josh@joshtriplett.org>2009-11-15 15:01:38 -0800
commit1b98c00bf3a8a417be6412d8a3ed867a72b18f68 (patch)
tree589927cbe85bb72273131d91965dbb1b99c63766 /Documentation/vm
parented9df091491dd41d4e054071948c8e2e5b354c99 (diff)
downloadlinux-1b98c00bf3a8a417be6412d8a3ed867a72b18f68.tar.bz2
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);