]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - misc/sethostname.c
Update copyright dates with scripts/update-copyrights.
[thirdparty/glibc.git] / misc / sethostname.c
index c6d9d9df842bdcf13e54bf837276d2dbe8f4613f..3ec4135b15211e9ecb913e689b6eb2dfc94fee08 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-2013 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
@@ -21,9 +21,7 @@
 /* Set the name of the current host to NAME, which is LEN bytes long.
    This call is restricted to the super-user.  */
 int
-sethostname (name, len)
-     const char *name;
-     size_t len;
+sethostname (const char *name, size_t len)
 {
   __set_errno (ENOSYS);
   return -1;