From a6cd7ffd20a962b839e4d4cc363f4203e005abae Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 5 May 2022 18:53:47 +1000 Subject: [PATCH] HAL_SITL: fixed warning --- libraries/AP_HAL_SITL/system.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_HAL_SITL/system.cpp b/libraries/AP_HAL_SITL/system.cpp index bc189c71d3..8b1c35d7dd 100644 --- a/libraries/AP_HAL_SITL/system.cpp +++ b/libraries/AP_HAL_SITL/system.cpp @@ -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