From 7a2bf6fcb916f39948b20997f4c701626492d423 Mon Sep 17 00:00:00 2001 From: Seth Howell Date: Sat, 9 May 2020 16:56:51 -0700 Subject: [PATCH] lib/thread: remove spdk prefix from static functions. Signed-off-by: Seth Howell Change-Id: I2b1b43c76518c7a00037360b8a1d3c46b4d14f02 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2299 Reviewed-by: Jim Harris Reviewed-by: Aleksey Marchuk Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins --- lib/thread/thread.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/thread/thread.c b/lib/thread/thread.c index 41dec3a78..d414508f7 100644 --- a/lib/thread/thread.c +++ b/lib/thread/thread.c @@ -1081,7 +1081,7 @@ struct call_thread { }; static void -spdk_on_thread(void *ctx) +_on_thread(void *ctx) { struct call_thread *ct = ctx; int rc __attribute__((unused)); @@ -1101,7 +1101,7 @@ spdk_on_thread(void *ctx) SPDK_DEBUGLOG(SPDK_LOG_THREAD, "Continuing thread iteration to %s\n", ct->cur_thread->name); - rc = spdk_thread_send_msg(ct->cur_thread, spdk_on_thread, ctx); + rc = spdk_thread_send_msg(ct->cur_thread, _on_thread, ctx); } assert(rc == 0); } @@ -1140,7 +1140,7 @@ spdk_for_each_thread(spdk_msg_fn fn, void *ctx, spdk_msg_fn cpl) SPDK_DEBUGLOG(SPDK_LOG_THREAD, "Starting thread iteration from %s\n", ct->orig_thread->name); - rc = spdk_thread_send_msg(ct->cur_thread, spdk_on_thread, ct); + rc = spdk_thread_send_msg(ct->cur_thread, _on_thread, ct); assert(rc == 0); }