summaryrefslogtreecommitdiff
path: root/pfinet/linux
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-08-09 14:40:58 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-08-09 14:40:58 +0000
commit481d7bd2dd7365f0002e2f713ecc0a62ed20bfdd (patch)
treebfd87c7fafc7a7c520491fafe2630c443487e0bd /pfinet/linux
parentaaebac50b6bec76cf62c3a568ab09025b351e8e8 (diff)
Formerly sched.h.~6~
Diffstat (limited to 'pfinet/linux')
-rw-r--r--pfinet/linux/sched.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/pfinet/linux/sched.h b/pfinet/linux/sched.h
index 5c548d46..40b19845 100644
--- a/pfinet/linux/sched.h
+++ b/pfinet/linux/sched.h
@@ -30,6 +30,11 @@ struct task_struct
#define TASK_INTERRUPTIBLE 1
#define TASK_RUNNING 2
+extern inline int suser ()
+{
+ return current->isroot;
+};
+
void wake_up_interruptible (struct wait_queue **);
void interruptible_sleep_on (struct wait_queue **);
void add_wait_queue (struct wait_queue **, struct wait_queue *);