From cff0e9f27444a95ed596368469fa5f85272f72a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kirill=20M=C3=BCller?= Date: Sun, 20 Oct 2024 14:25:01 +0200 Subject: [PATCH] Local typedef --- src/include/signal.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/include/signal.hpp b/src/include/signal.hpp index 902fda542..d39afcc11 100644 --- a/src/include/signal.hpp +++ b/src/include/signal.hpp @@ -18,6 +18,7 @@ class ScopedInterruptHandler { // oldhandler stores the old signal handler // so that it can be restored when the object is destroyed + typedef void (*sig_t)(int); sig_t oldhandler; static ScopedInterruptHandler *instance;