summaryrefslogtreecommitdiff
path: root/cras/client/cras_tests/src/audio.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cras/client/cras_tests/src/audio.rs')
-rw-r--r--cras/client/cras_tests/src/audio.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/cras/client/cras_tests/src/audio.rs b/cras/client/cras_tests/src/audio.rs
index 5ab22474..23018fd7 100644
--- a/cras/client/cras_tests/src/audio.rs
+++ b/cras/client/cras_tests/src/audio.rs
@@ -59,7 +59,7 @@ type Result<T> = std::result::Result<T, Error>;
static INTERRUPTED: AtomicBool = AtomicBool::new(false);
-extern "C" fn sigint_handler() {
+extern "C" fn sigint_handler(_: c_int) {
// Check if we've already received one SIGINT. If we have, the program may
// be misbehaving and not terminating, so to be safe we'll forcefully exit.
if INTERRUPTED.load(Ordering::Acquire) {