summaryrefslogtreecommitdiff
path: root/mysys/mf_keycache.c
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2004-02-12 18:35:44 +0100
committerunknown <serg@serg.mylan>2004-02-12 18:35:44 +0100
commit6ea5d81a5fec729823d68a1b6b644eb509a1d9e5 (patch)
treef929c806969911089537fd6dc8c1695e3c1a4a45 /mysys/mf_keycache.c
parent42029de3cad007aae5ad923a3d002748f42d96b5 (diff)
downloadmariadb-git-6ea5d81a5fec729823d68a1b6b644eb509a1d9e5.tar.gz
warning: `link_into_queue' declared inline after being called
warning: `unlink_from_queue' declared inline after being called let's un-inline them, compiler can usually decide better what should be inlined
Diffstat (limited to 'mysys/mf_keycache.c')
-rw-r--r--mysys/mf_keycache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysys/mf_keycache.c b/mysys/mf_keycache.c
index 08737221fb2..52b7f153e0d 100644
--- a/mysys/mf_keycache.c
+++ b/mysys/mf_keycache.c
@@ -627,7 +627,7 @@ writes: %ld r_requests: %ld reads: %ld",
a pointer to the last element.
*/
-static inline void link_into_queue(KEYCACHE_WQUEUE *wqueue,
+static void link_into_queue(KEYCACHE_WQUEUE *wqueue,
struct st_my_thread_var *thread)
{
struct st_my_thread_var *last;
@@ -662,7 +662,7 @@ static inline void link_into_queue(KEYCACHE_WQUEUE *wqueue,
See NOTES for link_into_queue
*/
-static inline void unlink_from_queue(KEYCACHE_WQUEUE *wqueue,
+static void unlink_from_queue(KEYCACHE_WQUEUE *wqueue,
struct st_my_thread_var *thread)
{
KEYCACHE_DBUG_PRINT("unlink_from_queue", ("thread %ld", thread->id));