bug-hurd
[Top][All Lists]
Advanced

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

Re: [PATCH 03/14] proc: remove declaration of nested functions from proc


From: Samuel Thibault
Subject: Re: [PATCH 03/14] proc: remove declaration of nested functions from proc.h
Date: Sat, 9 Nov 2013 18:49:35 +0100
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Justus Winter, le Fri 08 Nov 2013 21:24:11 +0100, a écrit :
> Remove the declaration of count_up and strore_pid from proc.h. The
> functions are defined as nested functions in S_proc_getallpids, there
> is no need to declare them. Furthermore, the declaration does not
> match the definition.

Ack

> * proc/proc.h: Remove declaration of count_up and strore_pid.
> ---
>  proc/proc.h |    2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/proc/proc.h b/proc/proc.h
> index 80f8397..5615f77 100644
> --- a/proc/proc.h
> +++ b/proc/proc.h
> @@ -161,8 +161,6 @@ int check_uid (struct proc *, uid_t);
>  int check_owner (struct proc *, struct proc *);
>  void addalltasks (void);
>  void prociterate (void (*)(struct proc *, void *), void *);
> -void count_up (void *);
> -void store_pid (void *);
>  void free_process (struct proc *);
>  void panic (char *);
>  int valid_task (task_t);
> -- 
> 1.7.10.4
> 
> 

-- 
Samuel
 Yep. Moi j'ai un clavier à une touche. 
 Par contre, ma souris a 102 boutons, c'est pas toujours pratique.
 -+- OG in: Guide du Cabaliste Usenet - Le mulot contre attaque -+-



reply via email to

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