diff options
| author | Stephen Rothwell <sfr@canb.auug.org.au> | 2002-07-14 23:06:37 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@penguin.transmeta.com> | 2002-07-14 23:06:37 -0700 |
| commit | d9c74f891a9b063d560acfbda70a9008d984e3cf (patch) | |
| tree | a1e66b9735b402fe40b60e95934bc33f2fc51b0c | |
| parent | 8ee665f592453c795307c1bb4ab1c52060335b02 (diff) | |
[PATCH] ipc_ statics
This patch just makes some stuff in ipc/ static.
| -rw-r--r-- | ipc/msg.c | 4 | ||||
| -rw-r--r-- | ipc/sem.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/ipc/msg.c b/ipc/msg.c index 971bae8d9028..b325d7f869df 100644 --- a/ipc/msg.c +++ b/ipc/msg.c @@ -597,7 +597,7 @@ static int testmsg(struct msg_msg* msg,long type,int mode) return 0; } -int inline pipelined_send(struct msg_queue* msq, struct msg_msg* msg) +static int inline pipelined_send(struct msg_queue* msq, struct msg_msg* msg) { struct list_head* tmp; @@ -706,7 +706,7 @@ out_free: return err; } -int inline convert_mode(long* msgtyp, int msgflg) +static int inline convert_mode(long* msgtyp, int msgflg) { /* * find message of correct type. diff --git a/ipc/sem.c b/ipc/sem.c index 4ffb1c881d52..fdc604a78311 100644 --- a/ipc/sem.c +++ b/ipc/sem.c @@ -441,7 +441,7 @@ static unsigned long copy_semid_to_user(void *buf, struct semid64_ds *in, int ve } } -int semctl_nolock(int semid, int semnum, int cmd, int version, union semun arg) +static int semctl_nolock(int semid, int semnum, int cmd, int version, union semun arg) { int err = -EINVAL; @@ -513,7 +513,7 @@ out_unlock: return err; } -int semctl_main(int semid, int semnum, int cmd, int version, union semun arg) +static int semctl_main(int semid, int semnum, int cmd, int version, union semun arg) { struct sem_array *sma; struct sem* curr; @@ -700,7 +700,7 @@ static inline unsigned long copy_semid_from_user(struct sem_setbuf *out, void *b } } -int semctl_down(int semid, int semnum, int cmd, int version, union semun arg) +static int semctl_down(int semid, int semnum, int cmd, int version, union semun arg) { struct sem_array *sma; int err; |
