]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - sched.h
sched: Mark argument of task_get_notification() as const.
[paraslash.git] / sched.h
diff --git a/sched.h b/sched.h
index c706b5093fba47f3173cc183daa07f0b77120a48..303877a4435d0b31fc779ac03d68e20326af17b2 100644 (file)
--- a/sched.h
+++ b/sched.h
@@ -80,7 +80,7 @@ int schedule(struct sched *s);
 char *get_task_list(struct sched *s);
 void task_notify(struct task *t, int err);
 void task_notify_all(struct sched *s, int err);
-int task_get_notification(struct task *t);
+int task_get_notification(const struct task *t);
 void sched_min_delay(struct sched *s);
 void sched_request_timeout(struct timeval *to, struct sched *s);
 void sched_request_timeout_ms(long unsigned ms, struct sched *s);