diff --git a/include/roaring/portability.h b/include/roaring/portability.h index fba2a4b25..9e51f2bf9 100644 --- a/include/roaring/portability.h +++ b/include/roaring/portability.h @@ -225,8 +225,8 @@ inline int roaring_leading_zeroes(unsigned long long input_num) { #ifndef CROARING_INTRINSICS #define CROARING_INTRINSICS 1 #define roaring_unreachable __builtin_unreachable() -static inline int roaring_trailing_zeroes(unsigned long long input_num) { return __builtin_ctzll(input_num); } -static inline int roaring_leading_zeroes(unsigned long long input_num) { return __builtin_clzll(input_num); } +inline int roaring_trailing_zeroes(unsigned long long input_num) { return __builtin_ctzll(input_num); } +inline int roaring_leading_zeroes(unsigned long long input_num) { return __builtin_clzll(input_num); } #endif #if CROARING_REGULAR_VISUAL_STUDIO