diff options
| author | Andrew Morton <akpm@osdl.org> | 2004-01-19 05:07:59 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2004-01-19 05:07:59 -0800 |
| commit | 8e1b379f569672d4b23fe72075fb7207d251382c (patch) | |
| tree | b76eeca5a361b3b134972cf03d22850a4bda9200 /include/linux | |
| parent | b0973709d182d6f05858d383eb2fdac796fe1b82 (diff) | |
[PATCH] Fix weird placement of inline
From: Jesper Juhl <juhl-lkml@dif.dk>
I'm compiling 2.6.1-rc1-mm1 with "-W -Wall" to look for potential problems
and minor stuff to clean up.
One of the things that enabling the extra warnings turn up is errors about
the placement of the inline keyword.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/efi.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/efi.h b/include/linux/efi.h index 86e9d2ebb5eb..d6cac7ce314d 100644 --- a/include/linux/efi.h +++ b/include/linux/efi.h @@ -297,8 +297,8 @@ extern u64 efi_mem_attributes (unsigned long phys_addr); extern void efi_initialize_iomem_resources(struct resource *code_resource, struct resource *data_resource); extern efi_status_t phys_efi_get_time(efi_time_t *tm, efi_time_cap_t *tc); -extern unsigned long inline __init efi_get_time(void); -extern int inline __init efi_set_rtc_mmss(unsigned long nowtime); +extern inline unsigned long __init efi_get_time(void); +extern inline int __init efi_set_rtc_mmss(unsigned long nowtime); extern struct efi_memory_map memmap; #ifdef CONFIG_EFI |
