]> git.tue.mpg.de Git - paraslash.git/commitdiff
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 9c5c098e0fbe38dbe7d5f2b77e33994ffa4ed1bc..234a8458d5870a1f14c66c81c140b61c0c20bf01 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 {
        /**