summaryrefslogtreecommitdiff
path: root/misc/sethostname.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/sethostname.c')
-rw-r--r--misc/sethostname.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/misc/sethostname.c b/misc/sethostname.c
index c6c1440c7b..95270e9769 100644
--- a/misc/sethostname.c
+++ b/misc/sethostname.c
@@ -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;