diff options
-rw-r--r-- | ldso/include/dl-string.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ldso/include/dl-string.h b/ldso/include/dl-string.h index 9636c2764..c1195e96f 100644 --- a/ldso/include/dl-string.h +++ b/ldso/include/dl-string.h @@ -22,7 +22,7 @@ static char *_dl_simple_ltoahex(char * local, unsigned long i); #define NULL ((void *) 0) #endif -static inline size_t __attribute__((__always_inline__)) _dl_strlen(const char * str) +static __always_inline size_t _dl_strlen(const char * str) { register const char *ptr = (char *) str-1; @@ -30,7 +30,7 @@ static inline size_t __attribute__((__always_inline__)) _dl_strlen(const char * return (ptr - str); } -static inline char * __attribute__((__always_inline__)) _dl_strcat(char *dst, const char *src) +static __always_inline char * _dl_strcat(char *dst, const char *src) { register char *ptr = dst-1; |