about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/connect.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/connect.c')
-rw-r--r--sysdeps/mach/hurd/connect.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/connect.c b/sysdeps/mach/hurd/connect.c
index 178e335eca..30883f65ae 100644
--- a/sysdeps/mach/hurd/connect.c
+++ b/sysdeps/mach/hurd/connect.c
@@ -24,6 +24,8 @@
 #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.
@@ -72,4 +74,5 @@ __connect (int fd, __CONST_SOCKADDR_ARG addrarg, socklen_t len)
   return err ? __hurd_dfail (fd, err) : 0;
 }
 
+INTDEF(__connect)
 weak_alias (__connect, connect)