浏览代码

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 年之前
父节点
当前提交
1b98c00bf3
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);
 }
 
-int checked_open(const char *pathname, int flags)
+static int checked_open(const char *pathname, int flags)
 {
 	int fd = open(pathname, flags);