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.
* 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