X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=sched.h;h=35e2503e383be3611fc302f5a732e45cf322d506;hp=9c0e10a33b38d7df6f64d893473f54d58ed65938;hb=3b0a8fdb191309652e71e104a8f3705d55a93d3e;hpb=879e52d49df6d00aa9eafe5cccb48bbd24ed4c81 diff --git a/sched.h b/sched.h index 9c0e10a3..35e2503e 100644 --- a/sched.h +++ b/sched.h @@ -1,8 +1,4 @@ -/* - * Copyright (C) 2006-2014 Andre Noll - * - * Licensed under the GPL v2. For licencing details see COPYING. - */ +/* Copyright (C) 2006 Andre Noll , see file COPYING. */ /** \file sched.h Sched and task structures and exported symbols from sched.c. */ @@ -68,7 +64,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);