bug-hurd
[Top][All Lists]
Advanced

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

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


From: Justus Winter
Subject: [PATCH 03/14] proc: remove declaration of nested functions from proc.h
Date: Fri, 8 Nov 2013 21:24:11 +0100

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




reply via email to

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