]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - sched.h
sched: nuke "flag" field of struct task
[paraslash.git] / sched.h
diff --git a/sched.h b/sched.h
index 0363f0d1f4f79b89bc30078e600db4fc3b66898c..632fddde19c62782aa89b5db9cc68e1f7c3b8e41 100644 (file)
--- a/sched.h
+++ b/sched.h
@@ -8,7 +8,6 @@ struct sched {
 
 struct task {
        void *private_data;
-       unsigned flags;
        int ret;
        void (*pre_select)(struct sched *s, struct task *t);
        void (*post_select)(struct sched *s, struct task *t);
@@ -18,11 +17,6 @@ struct task {
        char status[MAXLINE];
 };
 
-enum task_flags {
-       PRE_ADD_TAIL = 1,
-       POST_ADD_TAIL = 2,
-};
-
 void *register_task(struct task *t);
 void unregister_task(struct task *t);
 int sched(struct sched *s);