mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
Please the Sun C compiler by qualifying 'inline' as 'static inline'.
This commit is contained in:
parent
2b5ec25879
commit
32773212f5
1 changed files with 2 additions and 2 deletions
|
|
@ -27,7 +27,7 @@
|
|||
#include <assert.h>
|
||||
#include <m_string.h>
|
||||
|
||||
inline void bitmap_lock(MY_BITMAP* map)
|
||||
static inline void bitmap_lock(MY_BITMAP* map)
|
||||
{
|
||||
#ifdef THREAD
|
||||
if (map->thread_safe)
|
||||
|
|
@ -35,7 +35,7 @@ inline void bitmap_lock(MY_BITMAP* map)
|
|||
#endif
|
||||
}
|
||||
|
||||
inline void bitmap_unlock(MY_BITMAP* map)
|
||||
static inline void bitmap_unlock(MY_BITMAP* map)
|
||||
{
|
||||
#ifdef THREAD
|
||||
if (map->thread_safe)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue