mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Please the Sun C compiler by qualifying 'inline' as 'static inline'.
This commit is contained in:
@ -27,7 +27,7 @@
|
|||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <m_string.h>
|
#include <m_string.h>
|
||||||
|
|
||||||
inline void bitmap_lock(MY_BITMAP* map)
|
static inline void bitmap_lock(MY_BITMAP* map)
|
||||||
{
|
{
|
||||||
#ifdef THREAD
|
#ifdef THREAD
|
||||||
if (map->thread_safe)
|
if (map->thread_safe)
|
||||||
@ -35,7 +35,7 @@ inline void bitmap_lock(MY_BITMAP* map)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
inline void bitmap_unlock(MY_BITMAP* map)
|
static inline void bitmap_unlock(MY_BITMAP* map)
|
||||||
{
|
{
|
||||||
#ifdef THREAD
|
#ifdef THREAD
|
||||||
if (map->thread_safe)
|
if (map->thread_safe)
|
||||||
|
Reference in New Issue
Block a user