diff options
author | Jaswinder Singh Rajput <jaswinderrajput@gmail.com> | 2009-01-30 10:35:50 -0500 |
---|---|---|
committer | Jaswinder Singh Rajput <jaswinderrajput@gmail.com> | 2009-01-30 13:18:33 -0500 |
commit | f4aa1c30255278b7b50a1cd273c7b4a46f099a90 (patch) | |
tree | 449d9ea329f2b335d464ae5168c86ea40a1fd50d | |
parent | 177a858ff8d71a8e7f8b0ef53ff49441e29c8fb1 (diff) |
headers_check fix: linux/elf.h
fix the following 'make headers_check' warnings:
usr/include/linux/elf.h:379: extern's make no sense in userspace
usr/include/linux/elf.h:387: extern's make no sense in userspace
usr/include/linux/elf.h:401: extern's make no sense in userspace
usr/include/linux/elf.h:402: extern's make no sense in userspace
Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
-rw-r--r-- | include/linux/elf.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/elf.h b/include/linux/elf.h index 0b61ca41a044..45a937be6d38 100644 --- a/include/linux/elf.h +++ b/include/linux/elf.h | |||
@@ -377,6 +377,7 @@ typedef struct elf64_note { | |||
377 | Elf64_Word n_type; /* Content type */ | 377 | Elf64_Word n_type; /* Content type */ |
378 | } Elf64_Nhdr; | 378 | } Elf64_Nhdr; |
379 | 379 | ||
380 | #ifdef __KERNEL__ | ||
380 | #if ELF_CLASS == ELFCLASS32 | 381 | #if ELF_CLASS == ELFCLASS32 |
381 | 382 | ||
382 | extern Elf32_Dyn _DYNAMIC []; | 383 | extern Elf32_Dyn _DYNAMIC []; |
@@ -404,5 +405,5 @@ static inline int elf_coredump_extra_notes_write(struct file *file, | |||
404 | extern int elf_coredump_extra_notes_size(void); | 405 | extern int elf_coredump_extra_notes_size(void); |
405 | extern int elf_coredump_extra_notes_write(struct file *file, loff_t *foffset); | 406 | extern int elf_coredump_extra_notes_write(struct file *file, loff_t *foffset); |
406 | #endif | 407 | #endif |
407 | 408 | #endif /* __KERNEL__ */ | |
408 | #endif /* _LINUX_ELF_H */ | 409 | #endif /* _LINUX_ELF_H */ |