Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6cf24f03 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds
Browse files

[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: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent d3ed11c3
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -6,6 +6,8 @@
#include <linux/elf-em.h>
#include <linux/elf-em.h>
#include <asm/elf.h>
#include <asm/elf.h>


struct file;

#ifndef elf_read_implies_exec
#ifndef elf_read_implies_exec
  /* Executables for which elf_read_implies_exec() returns TRUE will
  /* Executables for which elf_read_implies_exec() returns TRUE will
     have the READ_IMPLIES_EXEC personality flag set automatically.
     have the READ_IMPLIES_EXEC personality flag set automatically.