patch-1.3.15 linux/net/socket.c
Next file: linux/net/unix/sock.c
Previous file: linux/net/netrom/nr_route.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Tue Aug 1 10:02:50 1995
- Orig file:
v1.3.14/linux/net/socket.c
- Orig date:
Fri Jun 30 16:22:34 1995
diff -u --recursive --new-file v1.3.14/linux/net/socket.c linux/net/socket.c
@@ -69,7 +69,7 @@
int whence);
static int sock_read(struct inode *inode, struct file *file, char *buf,
int size);
-static int sock_write(struct inode *inode, struct file *file, char *buf,
+static int sock_write(struct inode *inode, struct file *file, const char *buf,
int size);
static void sock_close(struct inode *inode, struct file *file);
@@ -337,7 +337,7 @@
* readable by the user process.
*/
-static int sock_write(struct inode *inode, struct file *file, char *ubuf, int size)
+static int sock_write(struct inode *inode, struct file *file, const char *ubuf, int size)
{
struct socket *sock;
int err;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this