Documentation/vm/page-types.c: Declare checked_open static
authorJosh Triplett <josh@joshtriplett.org>
Fri, 16 Oct 2009 21:06:13 +0000 (14:06 -0700)
committerJosh Triplett <josh@joshtriplett.org>
Sun, 15 Nov 2009 23:01:38 +0000 (15:01 -0800)
Nothing outside of Documentation/vm/page-types.c references
checked_open.

Signed-off-by: Josh Triplett <josh@joshtriplett.org>
Documentation/vm/page-types.c

index 3ec4f2a..4793c6a 100644 (file)
@@ -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);