Re: [PATCH hurd 6/6] hurdio: use correct function signature for hurdio_mdmstate

2024-09-08 Thread Samuel Thibault
Applied, thanks!

Flavio Cruz, le dim. 21 janv. 2024 16:07:57 -0500, a ecrit:
> ---
>  term/hurdio.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/term/hurdio.c b/term/hurdio.c
> index c6e14a4..a3e2a0a 100644
> --- a/term/hurdio.c
> +++ b/term/hurdio.c
> @@ -613,8 +613,8 @@ hurdio_mdmctl (int how, int bits)
>  }
>  
>  
> -static int
> -hurdio_mdmstate (void)
> +static error_t
> +hurdio_mdmstate (int *state)
>  {
>int oldbits;
>  
> -- 
> 2.39.2
> 
> 

-- 
Samuel
 ben oui ce serait idiot, mais osb
  -+- m'en fous de faire un truc débile ! -+-



[PATCH hurd 6/6] hurdio: use correct function signature for hurdio_mdmstate

2024-01-21 Thread Flavio Cruz
---
 term/hurdio.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/term/hurdio.c b/term/hurdio.c
index c6e14a4..a3e2a0a 100644
--- a/term/hurdio.c
+++ b/term/hurdio.c
@@ -613,8 +613,8 @@ hurdio_mdmctl (int how, int bits)
 }
 
 
-static int
-hurdio_mdmstate (void)
+static error_t
+hurdio_mdmstate (int *state)
 {
   int oldbits;
 
-- 
2.39.2