]> 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 14df9bce5bcdd1104768efbb23406bac79f5c6b3..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;