rtos: move prototype of rtos_thread_packet() in rtos.h
commitaaa67f733df5ef29bfdc83e808434a23d6edb580
authorAntonio Borneo <borneo.antonio@gmail.com>
Sun, 7 May 2023 12:35:51 +0000 (7 14:35 +0200)
committerAntonio Borneo <borneo.antonio@gmail.com>
Thu, 18 May 2023 10:16:32 +0000 (18 10:16 +0000)
tree1a7a18967ba3e08d2933889cae22852d12aca42e
parentfb34eeb442fe15593161e3254abd790077bc6e05
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
src/rtos/eCos.c
src/rtos/hwthread.c
src/rtos/rtos.c
src/rtos/rtos.h