Skip to content

Commit

Permalink
Putting back static.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Lemire committed Sep 27, 2023
1 parent 70a927a commit c7e309a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/roaring/portability.h
Original file line number Diff line number Diff line change
Expand Up @@ -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()
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); }
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); }
#endif

#if CROARING_REGULAR_VISUAL_STUDIO
Expand Down

0 comments on commit c7e309a

Please sign in to comment.