summaryrefslogtreecommitdiff
path: root/misc/sethostname.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/sethostname.c')
-rw-r--r--misc/sethostname.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/misc/sethostname.c b/misc/sethostname.c
index c6c1440c7b..6fb15b4248 100644
--- a/misc/sethostname.c
+++ b/misc/sethostname.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-2015 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2016 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;