From ef1a04f6c45f3022f941d970690145747efdc1d6 Mon Sep 17 00:00:00 2001 From: Garry Williams Date: Jan 19 2025 14:08:35 +0000 Subject: Update default/mq-memory-corruption/mq_notify-5.1.c Make interrupt handler function match __sighandler_t so it can be assigned without error. Problem reported by Matt Fagnani. --- diff --git a/default/mq-memory-corruption/mq_notify-5.1.c b/default/mq-memory-corruption/mq_notify-5.1.c index 3ec1993..6fb58d1 100644 --- a/default/mq-memory-corruption/mq_notify-5.1.c +++ b/default/mq-memory-corruption/mq_notify-5.1.c @@ -50,7 +50,7 @@ int enter_handler = 0; -void msg_handler() +void msg_handler(int not_used) { enter_handler = 1; }