Skip to content

Commit

Permalink
Documentation/vm/page-types.c: Declare checked_open static
Browse files Browse the repository at this point in the history
Nothing outside of Documentation/vm/page-types.c references
checked_open.

Signed-off-by: Josh Triplett <josh@joshtriplett.org>
  • Loading branch information
Josh Triplett committed Nov 15, 2009
1 parent ed9df09 commit 1b98c00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/vm/page-types.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 1b98c00

Please sign in to comment.