4 FILE_LICENCE ( GPL2_OR_LATER
);
9 static inline __attribute__ (( always_inline
)) int
10 __constant_flsl ( unsigned long x
) {
13 #if ULONG_MAX > 0xffffffff
14 if ( x
& 0xffffffff00000000UL
) {
19 if ( x
& 0xffff0000UL
) {
45 /* We don't actually have these functions yet */
46 extern int __flsl ( long x
);
49 ( __builtin_constant_p ( x ) ? __constant_flsl ( x ) : __flsl ( x ) )
51 #define fls( x ) flsl ( x )
53 extern int strcasecmp ( const char *s1
, const char *s2
);
55 static inline __attribute__ (( always_inline
)) void
56 bcopy ( const void *src
, void *dest
, size_t n
) {
57 memmove ( dest
, src
, n
);
60 static inline __attribute__ (( always_inline
)) void
61 bzero ( void *s
, size_t n
) {
65 #endif /* _STRINGS_H */