patch-2.4.19 linux-2.4.19/arch/sparc/kernel/sys_sunos.c
Next file: linux-2.4.19/arch/sparc/kernel/systbls.S
Previous file: linux-2.4.19/arch/sparc/kernel/sun4d_smp.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Fri Aug 2 17:39:43 2002
- Orig file:
linux-2.4.18/arch/sparc/kernel/sys_sunos.c
- Orig date:
Tue Aug 14 19:57:28 2001
diff -urN linux-2.4.18/arch/sparc/kernel/sys_sunos.c linux-2.4.19/arch/sparc/kernel/sys_sunos.c
@@ -1049,8 +1049,8 @@
return ret;
}
-extern asmlinkage int sys_read(unsigned int fd,char *buf,int count);
-extern asmlinkage int 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);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)