diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-12-23 14:12:40 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-12-23 14:12:40 +0000 |
commit | 6c8e75a86533fa2ebfb41af7941c64ea72c1f4c4 (patch) | |
tree | c911860a7b7eb624bb9f5ddd1ba893f408eb16b5 | |
parent | 1a0edbb3f68b227f45af541720e5585d22e3a813 (diff) |
- r16732 forgot to checkin the sync of the __UCLIBC_SUSV3_LEGACY_MACROS__ from string.h
-rw-r--r-- | include/strings.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/strings.h b/include/strings.h index fe089d960..107c53a4f 100644 --- a/include/strings.h +++ b/include/strings.h @@ -53,8 +53,9 @@ extern char *index (__const char *__s, int __c) extern char *rindex (__const char *__s, int __c) __THROW __attribute_pure__ __nonnull ((1)); # else +# ifdef __UCLIBC_SUSV3_LEGACY_MACROS__ /* bcopy/bzero/bcmp/index/rindex are marked LEGACY in SuSv3. - * They are replaced as proposed by SuSv3. Don't sync this part + * They are replaced as proposed by SuSv3. Don't sync this part * with glibc and keep it in sync with string.h. */ # define bcopy(src,dest,n) (memmove((dest), (src), (n)), (void) 0) @@ -62,6 +63,7 @@ extern char *rindex (__const char *__s, int __c) # define bcmp(s1,s2,n) memcmp((s1), (s2), (size_t)(n)) # define index(s,c) strchr((s), (c)) # define rindex(s,c) strrchr((s), (c)) +# endif # endif /* Return the position of the first bit set in I, or 0 if none are set. |