kernel: add z_thread_single_abort to private hdr

We shouldn't be copy-pasting extern declarations like this.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
Andrew Boie 2020-09-02 08:14:09 -07:00 committed by Andrew Boie
commit ffc1da08f9
4 changed files with 1 additions and 7 deletions

View file

@ -24,8 +24,6 @@
#include <wait_q.h>
#include <sys/__assert.h>
extern void z_thread_single_abort(struct k_thread *thread);
void z_impl_k_thread_abort(k_tid_t thread)
{
z_thread_single_abort(thread);

View file

@ -477,9 +477,6 @@ void posix_abort_thread(int thread_idx)
#if defined(CONFIG_ARCH_HAS_THREAD_ABORT)
extern void z_thread_single_abort(struct k_thread *thread);
void z_impl_k_thread_abort(k_tid_t thread)
{
unsigned int key;

View file

@ -63,6 +63,7 @@ void z_sched_abort(struct k_thread *thread);
void z_sched_ipi(void);
void z_sched_start(struct k_thread *thread);
void z_ready_thread(struct k_thread *thread);
void z_thread_single_abort(struct k_thread *thread);
static inline void z_pend_curr_unlocked(_wait_q_t *wait_q, k_timeout_t timeout)
{

View file

@ -22,8 +22,6 @@
#include <sys/__assert.h>
#include <syscall_handler.h>
extern void z_thread_single_abort(struct k_thread *thread);
#if !defined(CONFIG_ARCH_HAS_THREAD_ABORT)
void z_impl_k_thread_abort(k_tid_t thread)
{