aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/elf.h
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-12-06 23:41:39 -0500
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-07 11:39:48 -0500
commit6cf24f031bc97cb5a7c9df3b6e73c45b628b2b28 (patch)
treee94362d24bc2fcffca4630391152ea7923bb560e /include/linux/elf.h
parentd3ed11c35635487d34ad476e1d6a66dd298ab2de (diff)
[PATCH] elf.h: forward declare struct file
In file included from include/asm/patch.h:14, from arch/ia64/kernel/patch.c:10: include/linux/elf.h:375: warning: "struct file" declared inside parameter list include/linux/elf.h:375: warning: its scope is only this definition or declaration, which is probably not what you want Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/linux/elf.h')
-rw-r--r--include/linux/elf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/elf.h b/include/linux/elf.h
index b403516d5c3d..60713e6ea297 100644
--- a/include/linux/elf.h
+++ b/include/linux/elf.h
@@ -6,6 +6,8 @@
6#include <linux/elf-em.h> 6#include <linux/elf-em.h>
7#include <asm/elf.h> 7#include <asm/elf.h>
8 8
9struct file;
10
9#ifndef elf_read_implies_exec 11#ifndef elf_read_implies_exec
10 /* Executables for which elf_read_implies_exec() returns TRUE will 12 /* Executables for which elf_read_implies_exec() returns TRUE will
11 have the READ_IMPLIES_EXEC personality flag set automatically. 13 have the READ_IMPLIES_EXEC personality flag set automatically.