X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=sched.h;h=ada1cc106c068706fc175cc883450c17a237f4b7;hp=9c0e10a33b38d7df6f64d893473f54d58ed65938;hb=e79198e9851faddfd64e47654b5bc66fbc574255;hpb=879e52d49df6d00aa9eafe5cccb48bbd24ed4c81 diff --git a/sched.h b/sched.h index 9c0e10a3..ada1cc10 100644 --- a/sched.h +++ b/sched.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2006-2014 Andre Noll + * Copyright (C) 2006 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -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);