forked from auracaster/openocd
rtos: move prototype of rtos_thread_packet() in rtos.h
The function rtos_thread_packet() is used across rtos and declared locally as extern. Move the prototype of the function in common include rtos.h Change-Id: I50d311b583148a2de628de0997ef1afc9103a70e Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/7677 Tested-by: jenkins
This commit is contained in:
@@ -36,8 +36,6 @@ static const struct rtos_type *rtos_types[] = {
|
||||
|
||||
static int rtos_try_next(struct target *target);
|
||||
|
||||
int rtos_thread_packet(struct connection *connection, const char *packet, int packet_size);
|
||||
|
||||
int rtos_smp_init(struct target *target)
|
||||
{
|
||||
if (target->rtos->type->smp_init)
|
||||
|
||||
Reference in New Issue
Block a user