From a98cc513249b58320fe74f2009375cc590844dcc Mon Sep 17 00:00:00 2001 From: Nedko Arnaudov Date: Sat, 22 Jul 2023 16:56:22 +0300 Subject: [PATCH] control.h: adjust jackctl_setup_signals() to return jackctl_sigmask_t pointer This is backport from JACK2 of portability adjustment of the control api --- control.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/control.h b/control.h index 9c95149..04e0cdc 100644 --- a/control.h +++ b/control.h @@ -78,6 +78,9 @@ extern "C" { } /* Adjust editor indent */ #endif +/** opaque type for sigmask object */ +typedef struct jackctl_sigmask jackctl_sigmask_t; + /** * @defgroup ControlAPI the API for starting and controlling a JACK server * @{ @@ -92,7 +95,7 @@ extern "C" { * * @return the configurated signal set. */ -sigset_t +jackctl_sigmask_t * jackctl_setup_signals( unsigned int flags);