projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0810e49
)
Make unregister_task() static.
author
Andre Noll
<maan@systemlinux.org>
Tue, 1 Apr 2008 20:18:31 +0000
(22:18 +0200)
committer
Andre Noll
<maan@systemlinux.org>
Tue, 1 Apr 2008 20:18:31 +0000
(22:18 +0200)
It has no more users outside sched.c.
sched.c
patch
|
blob
|
history
sched.h
patch
|
blob
|
history
diff --git
a/sched.c
b/sched.c
index 9b0bddc13e36d8fa9636c292b4c243e2e0416f86..02793124f38b2c8a185dbe6fa7e1b27fd5306ab2 100644
(file)
--- a/
sched.c
+++ b/
sched.c
@@
-32,7
+32,7
@@
struct timeval *now = &now_struct;
* If the pre_select pointer of \a t is not \p NULL, it is removed from
* the pre_select list of the scheduler. Same goes for \a post_select.
*/
-void unregister_task(struct task *t)
+
static
void unregister_task(struct task *t)
{
if (!initialized)
return;
diff --git
a/sched.h
b/sched.h
index 86afc6fca3ed48defaaf164e929164d77a2d56fc..b92aaff75bd8554069145e70a1fe0db3274c4905 100644
(file)
--- a/
sched.h
+++ b/
sched.h
@@
-73,7
+73,6
@@
struct task {
extern struct timeval *now;
void register_task(struct task *t);
-void unregister_task(struct task *t);
int schedule(struct sched *s);
char *get_task_list(void);
int kill_task(char *id);