svn commit: trunk/uClibc/include

aldot at uclibc.org aldot at uclibc.org
Sat Dec 23 14:12:42 UTC 2006


Author: aldot
Date: 2006-12-23 06:12:40 -0800 (Sat, 23 Dec 2006)
New Revision: 17065

Log:
- r16732 forgot to checkin the sync of the __UCLIBC_SUSV3_LEGACY_MACROS__ from string.h


Modified:
   trunk/uClibc/include/strings.h


Changeset:
Modified: trunk/uClibc/include/strings.h
===================================================================
--- trunk/uClibc/include/strings.h	2006-12-23 02:59:06 UTC (rev 17064)
+++ trunk/uClibc/include/strings.h	2006-12-23 14:12:40 UTC (rev 17065)
@@ -53,8 +53,9 @@
 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 @@
 #  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.




More information about the uClibc-cvs mailing list