From 84e0fb3f287864eca3a9322ef364b913f6a260bd Mon Sep 17 00:00:00 2001 From: Flavio Cruz Date: Sun, 25 Dec 2022 20:41:46 -0500 Subject: Fix some warnings with -Wmissing-prototypes. Marked some functions as static (private) as needed and added missing includes. This also revealed some dead code which was removed. Note that -Wmissing-prototypes is not enabled here since there is a bunch more warnings. Message-Id: --- ddb/db_task_thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ddb/db_task_thread.c') diff --git a/ddb/db_task_thread.c b/ddb/db_task_thread.c index f7fbb805..93e44c25 100644 --- a/ddb/db_task_thread.c +++ b/ddb/db_task_thread.c @@ -152,7 +152,7 @@ db_check_thread_address_valid(thread) /* * convert task_id(queue position) to task address */ -task_t +static task_t db_lookup_task_id(int task_id) { task_t task; -- cgit v1.2.3