bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH gnumach 1/3] kern: fix type of recompute_priorities


From: Samuel Thibault
Subject: Re: [PATCH gnumach 1/3] kern: fix type of recompute_priorities
Date: Tue, 30 Sep 2014 14:09:01 +0200
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Justus Winter, le Tue 30 Sep 2014 14:06:16 +0200, a écrit :
> * kern/sched_prim.c (recompute_priorities): Fix type.
> * kern/sched_prim.h (recompute_priorities): Likewise.

Ack.

> ---
>  kern/sched_prim.c | 2 +-
>  kern/sched_prim.h | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/kern/sched_prim.c b/kern/sched_prim.c
> index 1d2e14e..66eb9c9 100644
> --- a/kern/sched_prim.c
> +++ b/kern/sched_prim.c
> @@ -1076,7 +1076,7 @@ void compute_my_priority(
>   *
>   *   Update the priorities of all threads periodically.
>   */
> -void recompute_priorities(const void *param)
> +void recompute_priorities(void *param)
>  {
>  #if  SIMPLE_CLOCK
>       int     new_usec;
> diff --git a/kern/sched_prim.h b/kern/sched_prim.h
> index 8c62b8b..fd989b6 100644
> --- a/kern/sched_prim.h
> +++ b/kern/sched_prim.h
> @@ -103,7 +103,7 @@ extern boolean_t thread_handoff(
>       thread_t        old_thread,
>       continuation_t  continuation,
>       thread_t        new_thread);
> -extern void  recompute_priorities(const void *param);
> +extern void  recompute_priorities(void *param);
>  extern void  update_priority(
>       thread_t        thread);
>  extern void  compute_my_priority(
> -- 
> 2.1.0
> 
> 

-- 
Samuel
<y> muhahaha...
<y> ya un train qui part de Perrache à 14h57
<y> qui passe à Part-Dieu à 15h10
<y> si je le prend à Perrache, je suis en zone bleue
<y> si je le prends à Part-Dieu, je suis en zone blanche
<y> donc je vais le prendre à Perrache *mais* à Part-Dieu ;-)
 -+- #ens-mim - vive la SNCF -+-



reply via email to

[Prev in Thread] Current Thread [Next in Thread]