Browse Source

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>
Josh Triplett 15 năm trước cách đây
mục cha
commit
1b98c00bf3
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Documentation/vm/page-types.c

+ 1 - 1
Documentation/vm/page-types.c

@@ -218,7 +218,7 @@ static void fatal(const char *x, ...)
 	exit(EXIT_FAILURE);
 	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);
 	int fd = open(pathname, flags);