]> 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 03d97652e9c4f1db4a44badb3b8f1e5604de19ce..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
 
 /* 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;
@@ -32,4 +29,3 @@ __getsockname (fd, addr, len)
 weak_alias (__getsockname, getsockname)
 
 stub_warning (getsockname)
-#include <stub-tag.h>