[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 01/10] term: Fix function prototype
From: |
Sergey Bugaev |
Subject: |
[PATCH 01/10] term: Fix function prototype |
Date: |
Sat, 23 Mar 2024 14:53:13 +0300 |
struct bottomhalf.mdmstate is of type error_t (*)(int *state).
Fixes -Wincompatible-pointer-types, which is a hard error by default
in GCC 14.
---
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;
--
2.44.0
- [PATCH 01/10] term: Fix function prototype,
Sergey Bugaev <=
- [PATCH 02/10] exec: Fix creating executable stacks, Sergey Bugaev, 2024/03/23
- [PATCH 04/10] proc: Only try host_kernel_version () on i386, Sergey Bugaev, 2024/03/23
- [PATCH 05/10] libshouldbeinlibc: Stop relying on address space size, Sergey Bugaev, 2024/03/23
- [PATCH 03/10] Make long & friends 64-bit on 64-bit platforms, Sergey Bugaev, 2024/03/23
- [PATCH 06/10] exec: Stop relying on address space size, Sergey Bugaev, 2024/03/23
- [PATCH 09/10] proc: Add support for AArch64 in uname, Sergey Bugaev, 2024/03/23
- [PATCH 07/10] exec: Add support for AArch64 executables, Sergey Bugaev, 2024/03/23
- [PATCH 10/10] boot: Add support for AArch64, Sergey Bugaev, 2024/03/23
- [PATCH 08/10] elfcore: Add support for saving AArch64 registers, Sergey Bugaev, 2024/03/23
- Re: [PATCH 01/10] term: Fix function prototype, Samuel Thibault, 2024/03/23