]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - socket/getsockname.c
support: Expose sbindir as support_sbindir_prefix
[thirdparty/glibc.git] / socket / getsockname.c
index b698bdbb7a359ab435a28f15dd873bff535eb17e..c0614ee62e354893f7c9f078d0fd258d78606262 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1995, 1996, 1997, 2002 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2019 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
    Lesser General Public License for more details.
 
    You should have received a copy of the GNU Lesser General Public
-   License along with the GNU C Library; if not, write to the Free
-   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-   02111-1307 USA.  */
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
 
 #include <errno.h>
 #include <sys/socket.h>
 
 /* Put the local address of FD into *ADDR and its length in *LEN.  */
 int
-__getsockname (fd, addr, len)
-     int fd;
-     __SOCKADDR_ARG addr;
-     socklen_t *len;
+__getsockname (int fd, __SOCKADDR_ARG addr, socklen_t *len)
 {
   __set_errno (ENOSYS);
   return -1;
@@ -33,4 +29,3 @@ __getsockname (fd, addr, len)
 weak_alias (__getsockname, getsockname)
 
 stub_warning (getsockname)
-#include <stub-tag.h>