(__getsockname): Renamed from getsockname, add getsockname as weak alias.

This commit is contained in:
Ulrich Drepper 2002-05-15 00:14:45 +00:00
parent dd96b0cb1d
commit 4c68ac2b46
1 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* Copyright (C) 2000 Free Software Foundation, Inc.
/* Copyright (C) 2000, 2002 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
@ -21,7 +21,9 @@
extern int ngetsockname (int s, void *uap_asa, int *uap_alen);
int
getsockname (int fd, __SOCKADDR_ARG addr, socklen_t *len)
__getsockname (int fd, __SOCKADDR_ARG addr, socklen_t *len)
{
return ngetsockname (fd, addr.__sockaddr__, len);
}
weak_alias (__getsockname, getsockname)