aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic/listen.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-01-27 21:26:25 +0000
committerUlrich Drepper <drepper@redhat.com>2001-01-27 21:26:25 +0000
commit6f0ea379033c4541b3e93e87579b9a184ded58ac (patch)
treeed0994a1ee94ff97c4c391845658fa9b5844c9d8 /sysdeps/generic/listen.c
parent257abbe2e31a500ee871075e3c8c486c4289c375 (diff)
downloadglibc-6f0ea379033c4541b3e93e87579b9a184ded58ac.tar
glibc-6f0ea379033c4541b3e93e87579b9a184ded58ac.tar.gz
glibc-6f0ea379033c4541b3e93e87579b9a184ded58ac.tar.bz2
glibc-6f0ea379033c4541b3e93e87579b9a184ded58ac.zip
Update.
* conform/data/sys/socket.h-data: Fix typos. Correct getsockopt, recvfrom, send, and socketpair prototypes. Add allow lines. * socket/sys/socket.h: Include <sys/uio.h>. Don't use fancy __SOCKADDR_ARG definition unless __USE_GNU. Fix type of second parameter of listen. Don't declare isfdtype unless __USE_MISC. * sysdeps/generic/listen.c: Fix type of second parameter of listen. * sysdeps/mach/hurd/listen.c: Likewise. * sysdeps/generic/bits/socket.h (struct sockaddr_storage): Define ss_family and __ss_family. * sysdeps/unix/sysv/aix/bits/socket.h: Likewise. * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. (struct msghdr): Change type of msg_iovlen to int and type of msg_controllen to socklen_t. * sysdeps/unix/sysv/linux/alpha/bits/socket.h: New file. * sysdeps/unix/sysv/linux/ia64/bits/socket.h: New file. * sysdeps/unix/sysv/linux/sparc/sparc64/bits/socket.h: New file.
Diffstat (limited to 'sysdeps/generic/listen.c')
-rw-r--r--sysdeps/generic/listen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/generic/listen.c b/sysdeps/generic/listen.c
index 3d557136cf..3c85c43ebe 100644
--- a/sysdeps/generic/listen.c
+++ b/sysdeps/generic/listen.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1995, 1996, 1997, 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -25,7 +25,7 @@
int
listen (fd, n)
int fd;
- unsigned int n;
+ int n;
{
__set_errno (ENOSYS);
return -1;