1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-12-24 17:51:17 +03:00

Remove use of INTDEF/INTUSE in socket

This commit is contained in:
Andreas Schwab
2012-05-29 22:40:00 +02:00
parent 6bd976963f
commit 03277f8fe1
9 changed files with 30 additions and 24 deletions

View File

@@ -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)