diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-11-17 12:14:49 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-11-17 12:14:49 -0500 |
commit | cb20c28a9c41052c2d7220325dae60c16f417ded (patch) | |
tree | fa3d768989b3de7c8c914495c193d67baa51f7ea /Documentation | |
parent | a08e37f31aa2800e0c9d20e1fc9283a06901cac2 (diff) | |
parent | 25583d4b5aa2c9aa5ed03ecc2ce73f3922714495 (diff) |
Merge branch 'hostprogs-wmissing-prototypes' of git://git.kernel.org/pub/scm/linux/kernel/git/josh/linux-misc
* 'hostprogs-wmissing-prototypes' of git://git.kernel.org/pub/scm/linux/kernel/git/josh/linux-misc:
Makefile: Add -Wmising-prototypes to HOSTCFLAGS
oss: Mark loadhex static in hex2hex.c
dtc: Mark various internal functions static
dtc: Set "noinput" in the lexer to avoid an unused function
drm: radeon: Mark several functions static in mkregtable
arch/sparc/boot/*.c: Mark various internal functions static
arch/powerpc/boot/addRamDisk.c: Mark several internal functions static
arch/alpha/boot/tools/objstrip.c: Mark "usage" static
Documentation/vm/page-types.c: Declare checked_open static
genksyms: Mark is_reserved_word static
kconfig: Mark various internal functions static
kconfig: Make zconf.y work with current bison
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/vm/page-types.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/vm/page-types.c b/Documentation/vm/page-types.c index 3ec4f2a22585..4793c6aac733 100644 --- a/Documentation/vm/page-types.c +++ b/Documentation/vm/page-types.c | |||
@@ -218,7 +218,7 @@ static void fatal(const char *x, ...) | |||
218 | exit(EXIT_FAILURE); | 218 | exit(EXIT_FAILURE); |
219 | } | 219 | } |
220 | 220 | ||
221 | int checked_open(const char *pathname, int flags) | 221 | static int checked_open(const char *pathname, int flags) |
222 | { | 222 | { |
223 | int fd = open(pathname, flags); | 223 | int fd = open(pathname, flags); |
224 | 224 | ||