diff options
Diffstat (limited to 'payloads/libpayload/include/strings.h')
-rw-r--r-- | payloads/libpayload/include/strings.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/payloads/libpayload/include/strings.h b/payloads/libpayload/include/strings.h index e83d6c1587..f8873b2357 100644 --- a/payloads/libpayload/include/strings.h +++ b/payloads/libpayload/include/strings.h @@ -29,8 +29,6 @@ #ifndef _STRINGS_H #define _STRINGS_H -#include <libpayload.h> - -static inline int ffs(int i) { return __ffs(i) + 1; } +#define ffs(x) __builtin_ffs(x) #endif |