Commit d9c74f89 authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Linus Torvalds

[PATCH] ipc_ statics

 This patch just makes some stuff in ipc/ static.
parent 8ee665f5
......@@ -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 @@ asmlinkage long sys_msgsnd (int msqid, struct msgbuf *msgp, size_t msgsz, int ms
return err;
}
int inline convert_mode(long* msgtyp, int msgflg)
static int inline convert_mode(long* msgtyp, int msgflg)
{
/*
* find message of correct type.
......
......@@ -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 @@ int semctl_nolock(int semid, int semnum, int cmd, int version, union semun arg)
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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment