Skip to content

Commit 8367a64

Browse files
authored
Merge pull request liexusong#71 from imaben/fix-inline
fix inline
2 parents 0563bb7 + ba5a36b commit 8367a64

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

beast_mm.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,12 +60,12 @@ static int beast_mm_block_size = 0;
6060
static beast_atomic_t *mm_lock;
6161
extern int beast_pid;
6262

63-
inline void beast_mm_lock()
63+
void beast_mm_lock()
6464
{
6565
beast_spinlock(mm_lock, beast_pid);
6666
}
6767

68-
inline void beast_mm_unlock()
68+
void beast_mm_unlock()
6969
{
7070
beast_spinunlock(mm_lock, beast_pid);
7171
}

cache.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ static cache_item_t **beast_cache_buckets = NULL;
3636
static beast_atomic_t *cache_lock;
3737
extern int beast_pid;
3838

39-
inline void beast_cache_lock()
39+
void beast_cache_lock()
4040
{
4141
beast_spinlock(cache_lock, beast_pid);
4242
}
4343

44-
inline void beast_cache_unlock()
44+
void beast_cache_unlock()
4545
{
4646
beast_spinunlock(cache_lock, beast_pid);
4747
}

0 commit comments

Comments
 (0)