summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2009-10-17 01:06:13 +0400
committerJosh Triplett <josh@joshtriplett.org>2009-11-16 02:01:38 +0300
commit1b98c00bf3a8a417be6412d8a3ed867a72b18f68 (patch)
tree589927cbe85bb72273131d91965dbb1b99c63766 /Documentation
parented9df091491dd41d4e054071948c8e2e5b354c99 (diff)
downloadlinux-1b98c00bf3a8a417be6412d8a3ed867a72b18f68.tar.xz
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')
-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);