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
Kirill Smelkov
linux
Commits
b2839adc
Commit
b2839adc
authored
May 08, 2002
by
Tom 'spot' Callaway
Committed by
David S. Miller
May 08, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Sparc: Use proper sys_{read,write} prototypes in SunOS
compat syscalls.
parent
f2ea1c6b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
arch/sparc/kernel/sys_sunos.c
arch/sparc/kernel/sys_sunos.c
+2
-2
arch/sparc64/kernel/sys_sunos32.c
arch/sparc64/kernel/sys_sunos32.c
+2
-2
No files found.
arch/sparc/kernel/sys_sunos.c
View file @
b2839adc
...
...
@@ -1048,8 +1048,8 @@ static inline int check_nonblock(int ret, int fd)
return
ret
;
}
extern
asmlinkage
in
t
sys_read
(
unsigned
int
fd
,
char
*
buf
,
int
count
);
extern
asmlinkage
in
t
sys_write
(
unsigned
int
fd
,
char
*
buf
,
int
count
);
extern
asmlinkage
ssize_
t
sys_read
(
unsigned
int
fd
,
char
*
buf
,
int
count
);
extern
asmlinkage
ssize_
t
sys_write
(
unsigned
int
fd
,
char
*
buf
,
int
count
);
extern
asmlinkage
int
sys_recv
(
int
fd
,
void
*
ubuf
,
int
size
,
unsigned
flags
);
extern
asmlinkage
int
sys_send
(
int
fd
,
void
*
buff
,
int
len
,
unsigned
flags
);
extern
asmlinkage
int
sys_accept
(
int
fd
,
struct
sockaddr
*
sa
,
int
*
addrlen
);
...
...
arch/sparc64/kernel/sys_sunos32.c
View file @
b2839adc
...
...
@@ -1198,8 +1198,8 @@ static inline int check_nonblock(int ret, int fd)
return
ret
;
}
extern
asmlinkage
in
t
sys_read
(
unsigned
int
fd
,
char
*
buf
,
unsigned
long
count
);
extern
asmlinkage
in
t
sys_write
(
unsigned
int
fd
,
char
*
buf
,
unsigned
long
count
);
extern
asmlinkage
ssize_
t
sys_read
(
unsigned
int
fd
,
char
*
buf
,
unsigned
long
count
);
extern
asmlinkage
ssize_
t
sys_write
(
unsigned
int
fd
,
char
*
buf
,
unsigned
long
count
);
extern
asmlinkage
int
sys_recv
(
int
fd
,
void
*
ubuf
,
size_t
size
,
unsigned
flags
);
extern
asmlinkage
int
sys_send
(
int
fd
,
void
*
buff
,
size_t
len
,
unsigned
flags
);
extern
asmlinkage
int
sys_accept
(
int
fd
,
struct
sockaddr
*
sa
,
int
*
addrlen
);
...
...
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