1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

Relax onditions in strings.h.

This commit is contained in:
Ulrich Drepper
2010-01-14 16:16:21 -08:00
parent c589e093e1
commit cd5c5f7051
2 changed files with 5 additions and 2 deletions

View 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));