diff options
Diffstat (limited to 'pfinet/glue-include/linux')
-rw-r--r-- | pfinet/glue-include/linux/kernel.h | 8 | ||||
-rw-r--r-- | pfinet/glue-include/linux/sched.h | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/pfinet/glue-include/linux/kernel.h b/pfinet/glue-include/linux/kernel.h index a0e101b9..de5852f6 100644 --- a/pfinet/glue-include/linux/kernel.h +++ b/pfinet/glue-include/linux/kernel.h @@ -42,7 +42,7 @@ #define printk printf -extern inline int +static inline int getname (const char *name, char **newp) { *newp = malloc (strlen (name) + 1); @@ -50,7 +50,7 @@ getname (const char *name, char **newp) return 0; } -extern inline void +static inline void putname (char *p) { free (p); @@ -60,14 +60,14 @@ putname (char *p) find any SIGIO code at all. So we'll just punt on that; clearly Linux is missing the point. SIGURG should only be sent for sockets that have explicitly requested it. */ -extern inline int +static inline int kill_proc (int pid, int signo, int priv) { assert (signo == SIGURG); return 0; } -extern inline int +static inline int kill_pg (int pgrp, int signo, int priv) { assert (signo == SIGURG); diff --git a/pfinet/glue-include/linux/sched.h b/pfinet/glue-include/linux/sched.h index 26ab10a8..5cf2f1b6 100644 --- a/pfinet/glue-include/linux/sched.h +++ b/pfinet/glue-include/linux/sched.h @@ -78,13 +78,13 @@ prepare_current (int isroot) struct semaphore { }; -extern inline int +static inline int suser () { return current->isroot; }; -extern inline int +static inline int capable(int cap) { return current->isroot; @@ -195,7 +195,7 @@ schedule_timeout (long timeout) Hurd, servers are not responsible for SIGPIPE; the library does that itself upon receiving EPIPE. So we can just NOP such calls. */ -extern inline int +static inline int send_sig (u_long signo, struct task_struct *task, int priv) { assert (signo == SIGPIPE); |