1
0
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:
joerg@mysql.com
2005-03-04 12:31:30 +01:00
parent 6ccbe89d52
commit 4e136e8d1a

View File

@ -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)