]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Relax onditions in strings.h.
authorUlrich Drepper <drepper@redhat.com>
Fri, 15 Jan 2010 00:16:21 +0000 (16:16 -0800)
committerUlrich Drepper <drepper@redhat.com>
Fri, 15 Jan 2010 00:16:21 +0000 (16:16 -0800)
ChangeLog
string/strings.h

index 9b078a02368ade08ef421dcae4da07a9d5644c40..6a9f5b246b95d53ce732785c96f23ef7d6fb66d0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2010-01-14  Ulrich Drepper  <drepper@redhat.com>
 
+       * string/strings.h: Relax condition for bcmp, bcopy, bzero, ffs,
+       index, and rindex.
+
        * stdlib/stdlib.h: Relax conditions for *cvt functions and valloc.
 
        * Versions.def: Add GLIBC_2.12 for libpthread.
index a3dde714f31d8fd5c7a5c16c538f10af39d43218..2ab83caa068917a0c2f004ea1aeee7e36a43f8d9 100644 (file)
@@ -36,7 +36,7 @@
 
 __BEGIN_DECLS
 
-# if !defined __USE_XOPEN2K8 || defined __USE_GNU
+# if defined __USE_MISC || !defined __USE_XOPEN2K8
 /* Compare N bytes of S1 and S2 (same as memcmp).  */
 extern int bcmp (__const void *__s1, __const void *__s2, size_t __n)
      __THROW __attribute_pure__;
@@ -104,7 +104,7 @@ extern char *rindex (__const char *__s, int __c)
 #  endif
 # endif
 
-#if !defined __USE_XOPEN2K8 || defined __USE_XOPEN2K8XSI
+#if defined __USE_MISC || !defined __USE_XOPEN2K8 || defined __USE_XOPEN2K8XSI
 /* Return the position of the first bit set in I, or 0 if none are set.
    The least-significant bit is position 1, the most-significant 32.  */
 extern int ffs (int __i) __THROW __attribute__ ((const));