sched.h: Remove outdated comment.
authorAndre Noll <maan@systemlinux.org>
Sun, 21 Jul 2013 14:30:23 +0000 (16:30 +0200)
committerAndre Noll <maan@systemlinux.org>
Sun, 21 Jul 2013 19:44:25 +0000 (21:44 +0200)
The term "these functions" is undefined here, and setting t->error
is deprecated.  The post_select() functions are supposed to return
an error code instead, but this is already mentioned further down in
the file, so let's just remove the comment.

sched.h

diff --git a/sched.h b/sched.h
index 9c5c098..234a845 100644 (file)
--- a/sched.h
+++ b/sched.h
@@ -41,10 +41,7 @@ struct sched {
  * Before registering a task to the scheduler, the task structure must be
  * filled in properly by the caller.
  *
- * If one of these functions sets \a t->error to a negative value, the
- * task gets unregistered automatically.
- *
- * \sa struct sched.
+ * \sa \ref sched.
  */
 struct task {
        /**