Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
d9c74f89
Commit
d9c74f89
authored
Jul 14, 2002
by
Stephen Rothwell
Committed by
Linus Torvalds
Jul 14, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] ipc_ statics
This patch just makes some stuff in ipc/ static.
parent
8ee665f5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
ipc/msg.c
ipc/msg.c
+2
-2
ipc/sem.c
ipc/sem.c
+3
-3
No files found.
ipc/msg.c
View file @
d9c74f89
...
...
@@ -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.
...
...
ipc/sem.c
View file @
d9c74f89
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment