Skip to content

Commit

Permalink
trying to fix compiling issue in CI
Browse files Browse the repository at this point in the history
Signed-off-by: Lei Huang <[email protected]>
  • Loading branch information
wiliamhuang committed Feb 28, 2025
1 parent c2f72ae commit 6825ba4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gurt/shm_dict.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ extern struct d_shm_hdr *d_shm_head;

#if defined(__x86_64__)
/* efficient way to generate random number with time stamp counter on x86_64 */
static __inline__ unsigned long long
static inline unsigned long long
rdtsc(void)
{
unsigned hi, lo;
Expand Down Expand Up @@ -441,7 +441,7 @@ shm_ht_destroy(d_shm_ht_loc_t shm_ht_loc, bool force)
return SHM_HT_SUCCESS;
}

inline int
static inline int
shm_ht_rec_incref(d_shm_ht_rec_t link)
{
atomic_fetch_add_relaxed(&(link->ref_count), 1);
Expand Down

0 comments on commit 6825ba4

Please sign in to comment.