From 23b47762acf36727c78fee4e1b1a8b7031ee3cf6 Mon Sep 17 00:00:00 2001 From: Kouame Behouba Manassé Date: Wed, 22 Jun 2022 17:31:40 +0300 Subject: executor: skips declaration of unused function 'doexit_thread' for fuchsia --- executor/executor.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'executor/executor.cc') diff --git a/executor/executor.cc b/executor/executor.cc index 081a11f85..7a8eebdab 100644 --- a/executor/executor.cc +++ b/executor/executor.cc @@ -90,7 +90,9 @@ static NORETURN PRINTF(2, 3) void failmsg(const char* err, const char* msg, ...) // Just exit (e.g. due to temporal ENOMEM error). static NORETURN PRINTF(1, 2) void exitf(const char* msg, ...); static NORETURN void doexit(int status); +#if !GOOS_fuchsia static NORETURN void doexit_thread(int status); +#endif // Print debug output that is visible when running syz-manager/execprog with -debug flag. // Debug output is supposed to be relatively high-level (syscalls executed, return values, timing, etc) -- cgit mrf-deployment