summaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/socketpair.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-07-21 06:52:29 +0000
committerMiles Bader <miles@gnu.org>1996-07-21 06:52:29 +0000
commitc199a24feb079bf0f81f8cedcfe55e99c47ac415 (patch)
tree7faeed37f8ab18c8e9760e64d5d00935171623c5 /sysdeps/mach/hurd/socketpair.c
parent6f9561ed067bb4eed53ec4872fe773c64a2df1c5 (diff)
Sun Jul 21 01:44:39 1996 Miles Bader <miles@gnu.ai.mit.edu>cvs/libc-960721
* locale/programs/locfile.c (write_locale_data): Deal with missing UIO_MAXIOV. * sysdeps/mach/hurd/socket.c (socket): Make TYPE an int. * sysdeps/mach/hurd/socketpair.c (socketpair): Likewise.
Diffstat (limited to 'sysdeps/mach/hurd/socketpair.c')
-rw-r--r--sysdeps/mach/hurd/socketpair.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/socketpair.c b/sysdeps/mach/hurd/socketpair.c
index 951d535504..4e29ed81d1 100644
--- a/sysdeps/mach/hurd/socketpair.c
+++ b/sysdeps/mach/hurd/socketpair.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992, 1994, 1995 Free Software Foundation, Inc.
+/* Copyright (C) 1992, 1994, 1995, 1996 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
@@ -31,7 +31,7 @@ Cambridge, MA 02139, USA. */
one will be chosen automatically. Returns 0 on success, -1 for errors. */
int
DEFUN(socketpair, (domain, type, protocol, fds),
- int domain AND enum __socket_type type AND int protocol AND int fds[2])
+ int domain AND int type AND int protocol AND int fds[2])
{
error_t err;
socket_t server, sock1, sock2;