From afca52d96eb43e6ceec4e6976b1f90c367df27c9 Mon Sep 17 00:00:00 2001 From: orbea Date: Sun, 16 Oct 2022 09:04:55 -0700 Subject: src: Fix build with clang 16 These are no longer supported in upcoming clang versions. warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] Reference: https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240 --- src/signals.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/signals.h') diff --git a/src/signals.h b/src/signals.h index bff737e..e902ef7 100644 --- a/src/signals.h +++ b/src/signals.h @@ -26,6 +26,6 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #ifndef SIGNALS_H #define SIGNALS_H -void setup_signal_handlers(); +void setup_signal_handlers(void); extern volatile int sig_exit; #endif -- cgit v1.2.3