From 5d7055b305624d6e271e2fc57e67aa5b65039486 Mon Sep 17 00:00:00 2001 From: Sergey Bugaev Date: Sat, 23 Mar 2024 14:53:13 +0300 Subject: term: Fix function prototype struct bottomhalf.mdmstate is of type error_t (*)(int *state). Fixes -Wincompatible-pointer-types, which is a hard error by default in GCC 14. Message-ID: <20240323115322.69075-1-bugaevc@gmail.com> --- term/hurdio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/term/hurdio.c b/term/hurdio.c index c6e14a4a..eab59b72 100644 --- a/term/hurdio.c +++ b/term/hurdio.c @@ -614,7 +614,7 @@ hurdio_mdmctl (int how, int bits) static int -hurdio_mdmstate (void) +hurdio_mdmstate (int *state) { int oldbits; -- cgit v1.2.3