summary refs log tree commit diff
path: root/sysdeps/mach
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2012-05-29 22:40:00 +0200
committerAndreas Schwab <schwab@linux-m68k.org>2012-05-31 00:34:41 +0200
commit03277f8fe13d0dde136ee98be5dc54362ec9af17 (patch)
treef1840e2478bcb2b2913ec329b09342284e193983 /sysdeps/mach
parent6bd976963f65990e1099eb4e08946bdb5191dc9c (diff)
downloadglibc-03277f8fe13d0dde136ee98be5dc54362ec9af17.tar.gz
glibc-03277f8fe13d0dde136ee98be5dc54362ec9af17.tar.xz
glibc-03277f8fe13d0dde136ee98be5dc54362ec9af17.zip
Remove use of INTDEF/INTUSE in socket
Diffstat (limited to 'sysdeps/mach')
-rw-r--r--sysdeps/mach/hurd/connect.c6
1 files changed, 2 insertions, 4 deletions
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 <sys/un.h>
 #include <hurd/ifsock.h>
 
-#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)