projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed9df09
)
Documentation/vm/page-types.c: Declare checked_open static
author
Josh Triplett
<josh@joshtriplett.org>
Fri, 16 Oct 2009 21:06:13 +0000
(14:06 -0700)
committer
Josh 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
patch
|
blob
|
history
diff --git
a/Documentation/vm/page-types.c
b/Documentation/vm/page-types.c
index 3ec4f2a2258537a80b77f1ca341b1df03ded6ae8..4793c6aac73343e580a98de57b1b014c87165a08 100644
(file)
--- 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);