]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - socket/sendmsg.c
Update copyright dates with scripts/update-copyrights.
[thirdparty/glibc.git] / socket / sendmsg.c
index a4a3cea950c88ab7e0e25da909deb2c72e954491..822e8719fbf367feb181214b6eba07c70abc1791 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991,1995,1996,1997,2001,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
@@ -12,9 +12,8 @@
    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>
 /* Send a message described MESSAGE on socket FD.
    Returns the number of bytes sent, or -1 for errors.  */
 ssize_t
-__sendmsg (fd, message, flags)
-     int fd;
-     const struct msghdr *message;
-     int flags;
+__sendmsg (int fd, const struct msghdr *message, int flags)
 {
   __set_errno (ENOSYS);
   return -1;
@@ -34,4 +30,3 @@ __sendmsg (fd, message, flags)
 weak_alias (__sendmsg, sendmsg)
 
 stub_warning (sendmsg)
-#include <stub-tag.h>