aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/stub/connect.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/stub/connect.c')
-rw-r--r--sysdeps/stub/connect.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/stub/connect.c b/sysdeps/stub/connect.c
index 7fbbc7fa31..9152a9449c 100644
--- a/sysdeps/stub/connect.c
+++ b/sysdeps/stub/connect.c
@@ -24,7 +24,7 @@
and the only address from which to accept transmissions.
Return 0 on success, -1 for errors. */
int
-connect (fd, addr, len)
+__connect (fd, addr, len)
int fd;
__CONST_SOCKADDR_ARG addr;
size_t len;
@@ -32,6 +32,7 @@ connect (fd, addr, len)
__set_errno (ENOSYS);
return -1;
}
+weak_alias (__connect, connect)
stub_warning (connect)