From 4720ef43b31a5b03526814a1b51e2e729eb28996 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 2 Jul 2005 14:35:27 +0000 Subject: use new __always_inline define --- ldso/include/dl-string.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ldso/include') 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; -- cgit v1.2.3