summaryrefslogtreecommitdiff
path: root/js/src/wasm/WasmSignalHandlers.h
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/wasm/WasmSignalHandlers.h')
-rw-r--r--js/src/wasm/WasmSignalHandlers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/wasm/WasmSignalHandlers.h b/js/src/wasm/WasmSignalHandlers.h
index 87faa15025..40ebfeb2e2 100644
--- a/js/src/wasm/WasmSignalHandlers.h
+++ b/js/src/wasm/WasmSignalHandlers.h
@@ -38,7 +38,7 @@ namespace wasm {
// Ensure the given JSRuntime is set up to use signals. Failure to enable signal
// handlers indicates some catastrophic failure and creation of the runtime must
// fail.
-MOZ_MUST_USE bool
+[[nodiscard]] bool
EnsureSignalHandlers(JSRuntime* rt);
// Return whether signals can be used in this process for interrupts or