X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=sched.h;h=07877c461b81b76e1c207478b88d57db1f1fafd9;hb=227a2ce5446c3f2ef4fd3e7c2ada3bb8d15289f1;hp=9c0e10a33b38d7df6f64d893473f54d58ed65938;hpb=879e52d49df6d00aa9eafe5cccb48bbd24ed4c81;p=paraslash.git diff --git a/sched.h b/sched.h index 9c0e10a3..07877c46 100644 --- a/sched.h +++ b/sched.h @@ -68,7 +68,7 @@ struct task_info { * scheduler are allowed to block, this value should be accurate enough so that * there is no need to call clock_gettime() directly. */ -extern struct timeval *now; +extern const struct timeval *now; struct task *task_register(struct task_info *info, struct sched *s); int schedule(struct sched *s);