From 03277f8fe13d0dde136ee98be5dc54362ec9af17 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Tue, 29 May 2012 22:40:00 +0200 Subject: Remove use of INTDEF/INTUSE in socket --- sysdeps/mach/hurd/connect.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'sysdeps/mach/hurd') diff --git a/sysdeps/mach/hurd/connect.c b/sysdeps/mach/hurd/connect.c index 92d3e4c9cc..b5c57ccbe2 100644 --- a/sysdeps/mach/hurd/connect.c +++ b/sysdeps/mach/hurd/connect.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1992,94,95,96,97,2002 Free Software Foundation, Inc. +/* Copyright (C) 1992-2012 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 @@ -23,8 +23,6 @@ #include #include -#undef __connect - /* Open a connection on socket FD to peer at ADDR (which LEN bytes long). For connectionless socket types, just set the default address to send to and the only address from which to accept transmissions. @@ -73,5 +71,5 @@ __connect (int fd, __CONST_SOCKADDR_ARG addrarg, socklen_t len) return err ? __hurd_dfail (fd, err) : 0; } -INTDEF(__connect) +libc_hidden_def (__connect) weak_alias (__connect, connect) -- cgit v1.2.3