From 7ce93726fb9f02c45e45df15d923faabaa8951d3 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 8 Apr 2002 02:16:43 +0000 Subject: * mach/setup-thread.c (__mach_setup_thread): int -> natural_t * sysdeps/mach/hurd/dl-sysdep.c: Use ElfW(TYPE) in place of Elf32_TYPE. (__mmap): Use MAP_FAILED instead of widening __hurd_fail value. * sysdeps/mach/hurd/bind.c: Use prototype definition. * sysdeps/mach/hurd/connect.c: Likewise. * sysdeps/mach/hurd/getsockopt.c: Likewise. * sysdeps/mach/hurd/setsockopt.c: Likewise. * sysdeps/mach/hurd/alpha/sigreturn.c: Pass missing argument to __msg_sig_post RPC. * hurd/catch-exc.c: Use integer_t instead of int. * hurd/hurdfault.c: Likewise. * sysdeps/mach/hurd/alpha/exc2signal.c (_hurd_exception2signal): Rewritten. * sysdeps/mach/hurd/alpha/longjmp-ts.c (_hurd_longjmp_thread_state): Rewritten. --- sysdeps/mach/hurd/connect.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'sysdeps/mach/hurd/connect.c') diff --git a/sysdeps/mach/hurd/connect.c b/sysdeps/mach/hurd/connect.c index 76e3812151..178e335eca 100644 --- a/sysdeps/mach/hurd/connect.c +++ b/sysdeps/mach/hurd/connect.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1992, 1994, 1995, 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1992,94,95,96,97,2002 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 @@ -29,10 +29,7 @@ and the only address from which to accept transmissions. Return 0 on success, -1 for errors. */ int -__connect (fd, addrarg, len) - int fd; - __CONST_SOCKADDR_ARG addrarg; - size_t len; +__connect (int fd, __CONST_SOCKADDR_ARG addrarg, socklen_t len) { error_t err; addr_port_t aport; -- cgit 1.4.1