diff options
author | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-06-02 18:27:47 -0400 |
---|---|---|
committer | Andrea Bastoni <bastoni@cs.unc.edu> | 2010-06-10 14:15:28 -0400 |
commit | 9840983a4f30145bcf0b82b6e2bc8518e7212fb5 (patch) | |
tree | 53e2e2938f513eeb22a8006d04c79b74311c8728 /litmus/sched_litmus.c | |
parent | 753fb14dfb0662e1d38758ffc6876c0ab1c7bd9e (diff) |
Make litmus_sched_class static
litmus_sched_class wasn't declared static, but it's not used outside
sched.c, so change it's signature to static.
Diffstat (limited to 'litmus/sched_litmus.c')
-rw-r--r-- | litmus/sched_litmus.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/litmus/sched_litmus.c b/litmus/sched_litmus.c index 81ea464a81bc..c65388969789 100644 --- a/litmus/sched_litmus.c +++ b/litmus/sched_litmus.c | |||
@@ -276,7 +276,7 @@ static int select_task_rq_litmus(struct task_struct *p, int sd_flag, int flags) | |||
276 | } | 276 | } |
277 | #endif | 277 | #endif |
278 | 278 | ||
279 | const struct sched_class litmus_sched_class = { | 279 | static const struct sched_class litmus_sched_class = { |
280 | .next = &rt_sched_class, | 280 | .next = &rt_sched_class, |
281 | .enqueue_task = enqueue_task_litmus, | 281 | .enqueue_task = enqueue_task_litmus, |
282 | .dequeue_task = dequeue_task_litmus, | 282 | .dequeue_task = dequeue_task_litmus, |