aboutsummaryrefslogtreecommitdiffstats
path: root/executor/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'executor/common.h')
-rw-r--r--executor/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/executor/common.h b/executor/common.h
index 9cd92983f..e0cfba5ad 100644
--- a/executor/common.h
+++ b/executor/common.h
@@ -57,12 +57,14 @@ NORETURN void doexit(int status)
for (;;) {
}
}
+#if !GOOS_fuchsia
NORETURN void doexit_thread(int status)
{
// For BSD systems, _exit seems to do exactly what's needed.
doexit(status);
}
#endif
+#endif
#if SYZ_EXECUTOR || SYZ_MULTI_PROC || SYZ_REPEAT && SYZ_CGROUPS || \
SYZ_NET_DEVICES || __NR_syz_mount_image || __NR_syz_read_part_table || \