4 FILE_LICENCE ( GPL2_OR_LATER );
8 #include <bits/strings.h>
10 static inline __attribute__ (( always_inline )) int
11 __constant_flsll ( unsigned long long x ) {
14 if ( x & 0xffffffff00000000ULL ) {
18 if ( x & 0xffff0000UL ) {
44 static inline __attribute__ (( always_inline )) int
45 __constant_flsl ( unsigned long x ) {
46 return __constant_flsll ( x );
49 int __flsll ( long long x );
50 int __flsl ( long x );
53 ( __builtin_constant_p ( x ) ? __constant_flsll ( x ) : __flsll ( x ) )
56 ( __builtin_constant_p ( x ) ? __constant_flsl ( x ) : __flsl ( x ) )
58 #define fls( x ) flsl ( x )
60 extern int strcasecmp ( const char *s1, const char *s2 );
62 static inline __attribute__ (( always_inline )) void
63 bcopy ( const void *src, void *dest, size_t n ) {
64 memmove ( dest, src, n );
67 static inline __attribute__ (( always_inline )) void
68 bzero ( void *s, size_t n ) {
72 #endif /* _STRINGS_H */