linux/elfcore.h: hide kernel functions
authorRoland McGrath <roland@redhat.com>
Sat, 22 May 2010 03:16:50 +0000 (20:16 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 22 May 2010 03:29:10 +0000 (20:29 -0700)
commit2faa4cf76e7d229016240b79b50a43d81f458323
tree587b7ccc902ef1f6946e57a6ccdbb4fa7e16bf41
parente8bebe2f71d26871b0970ae1d9cf0ed3cdd9569d
linux/elfcore.h: hide kernel functions

The declarations for elf_core_extra_phdrs() et al got added on the
wrong side of #ifdef __KERNEL__ in linux/elfcore.h so they leak into
the user header copy and we get a warning at build time about it.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/elfcore.h