HAL_SITL: fixed warning

This commit is contained in:
Andrew Tridgell 2022-05-05 18:53:47 +10:00
parent e6540681f2
commit a6cd7ffd20
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ void WEAK panic(const char *errormsg, ...)
}
// partly flogged from: https://github.com/tridge/junkcode/blob/master/segv_handler/segv_handler.c
void run_command_on_ownpid(const char *commandname)
static void run_command_on_ownpid(const char *commandname)
{
// find dumpstack command:
const char *command_filepath = commandname; // if we can't find it trust in PATH