summaryrefslogtreecommitdiff
path: root/ldso/include
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-07-02 14:35:27 +0000
committerMike Frysinger <vapier@gentoo.org>2005-07-02 14:35:27 +0000
commit4720ef43b31a5b03526814a1b51e2e729eb28996 (patch)
tree49860394d6842ccb87157d2b631351b782861300 /ldso/include
parentb9e9cd32243428fff2898aa203fac6b3ae7d2eea (diff)
use new __always_inline define
Diffstat (limited to 'ldso/include')
-rw-r--r--ldso/include/dl-string.h4
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;