patch-2.4.19 linux-2.4.19/arch/sparc64/kernel/sys_sunos32.c
Next file: linux-2.4.19/arch/sparc64/kernel/systbls.S
Previous file: linux-2.4.19/arch/sparc64/kernel/sys_sparc32.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Fri Aug 2 17:39:43 2002
- Orig file:
linux-2.4.18/arch/sparc64/kernel/sys_sunos32.c
- Orig date:
Tue Aug 14 19:57:28 2001
diff -urN linux-2.4.18/arch/sparc64/kernel/sys_sunos32.c linux-2.4.19/arch/sparc64/kernel/sys_sunos32.c
@@ -210,7 +210,7 @@
asmlinkage void sunos_vadvise(u32 strategy)
{
- static int count = 0;
+ static int count;
/* I wanna see who uses this... */
if (count++ < 5)
@@ -1199,8 +1199,8 @@
return ret;
}
-extern asmlinkage int sys_read(unsigned int fd, char *buf, unsigned long count);
-extern asmlinkage int 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);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)