elflink: Fix compiler warnings by including core-elf.h
authorMatt Fleming <matt.fleming@linux.intel.com>
Wed, 16 Mar 2011 14:32:12 +0000 (14:32 +0000)
committerMatt Fleming <matt.fleming@linux.intel.com>
Wed, 16 Mar 2011 14:40:58 +0000 (14:40 +0000)
commitb92b69695ea4d176f6ef292281629efccf0fb1e1
tree29ad8bad834c774882066dde89c33350db0ee595
parentf7d29d0174532a9ffe5cc77354a979a2bd604387
elflink: Fix compiler warnings by including core-elf.h

Numerous files need to include core-elf.h to get the definition of
'enum kernel_type'.

In file included from mytest.c:19:0:
menu.h: At top level:
menu.h:206:40: warning: ‘enum kernel_type’ declared inside parameter list
menu.h:206:40: warning: its scope is only this definition or declaration, which is probably not what you want

Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
com32/elflink/modules/background.c
com32/elflink/modules/menu.c
com32/elflink/modules/mytest.c
com32/elflink/modules/passwd.c
com32/elflink/modules/printmsg.c