From f1775381f91f1250b20f1949dfd0364ddb0ee9fc Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Wed, 23 Jul 2008 11:19:00 +0000 Subject: - fix inline keyword --- ldso/include/dl-elf.h | 4 ++-- ldso/include/dl-hash.h | 2 +- ldso/include/dl-syscall.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'ldso/include') diff --git a/ldso/include/dl-elf.h b/ldso/include/dl-elf.h index 08b1c8b50..076678cfc 100644 --- a/ldso/include/dl-elf.h +++ b/ldso/include/dl-elf.h @@ -21,8 +21,8 @@ struct elf_resolve; extern int _dl_map_cache(void); extern int _dl_unmap_cache(void); #else -static inline void _dl_map_cache(void) { } -static inline void _dl_unmap_cache(void) { } +static __inline__ void _dl_map_cache(void) { } +static __inline__ void _dl_unmap_cache(void) { } #endif diff --git a/ldso/include/dl-hash.h b/ldso/include/dl-hash.h index 2c0f306b6..9b87783fa 100644 --- a/ldso/include/dl-hash.h +++ b/ldso/include/dl-hash.h @@ -134,7 +134,7 @@ extern int _dl_linux_dynamic_link(void); extern char * _dl_library_path; extern char * _dl_not_lazy; -static inline int _dl_symbol(char * name) +static __inline__ int _dl_symbol(char * name) { if (name[0] != '_' || name[1] != 'd' || name[2] != 'l' || name[3] != '_') return 0; diff --git a/ldso/include/dl-syscall.h b/ldso/include/dl-syscall.h index d017866eb..fcc5c24ec 100644 --- a/ldso/include/dl-syscall.h +++ b/ldso/include/dl-syscall.h @@ -127,7 +127,7 @@ static __always_inline _syscall3(int, _dl_readlink, const char *, path, char *, #ifdef __UCLIBC_HAS_SSP__ # include # define __NR__dl_gettimeofday __NR_gettimeofday -static inline _syscall2(int, _dl_gettimeofday, struct timeval *, tv, +static __inline__ _syscall2(int, _dl_gettimeofday, struct timeval *, tv, # ifdef __USE_BSD struct timezone *, tz); # else -- cgit v1.2.3