patch-2.1.13 linux/net/unix/af_unix.c
Next file: linux/Makefile
Previous file: linux/net/socket.c
Back to the patch index
Back to the overall index
- Lines: 28
- Date:
Sat Nov 23 12:29:05 1996
- Orig file:
v2.1.12/linux/net/unix/af_unix.c
- Orig date:
Tue Nov 19 15:54:02 1996
diff -u --recursive --new-file v2.1.12/linux/net/unix/af_unix.c linux/net/unix/af_unix.c
@@ -397,7 +397,7 @@
}
-static int unix_bind(struct socket *sock, struct sockaddr *uaddr, size_t addr_len)
+static int unix_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len)
{
struct sockaddr_un *sunaddr=(struct sockaddr_un *)uaddr;
unix_socket *sk=sock->data;
@@ -444,7 +444,7 @@
}
-static int unix_connect(struct socket *sock, struct sockaddr *uaddr, size_t addr_len, int flags)
+static int unix_connect(struct socket *sock, struct sockaddr *uaddr, int addr_len, int flags)
{
unix_socket *sk=sock->data;
struct sockaddr_un *sunaddr=(struct sockaddr_un *)uaddr;
@@ -669,7 +669,7 @@
return 0;
}
-static int unix_getname(struct socket *sock, struct sockaddr *uaddr, size_t *uaddr_len, int peer)
+static int unix_getname(struct socket *sock, struct sockaddr *uaddr, int *uaddr_len, int peer)
{
unix_socket *sk=sock->data;
struct sockaddr_un *sunaddr=(struct sockaddr_un *)uaddr;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov