summaryrefslogtreecommitdiff
path: root/misc/gethostname.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/gethostname.c')
-rw-r--r--misc/gethostname.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/misc/gethostname.c b/misc/gethostname.c
index 15097a80ce..f9a508a096 100644
--- a/misc/gethostname.c
+++ b/misc/gethostname.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
@@ -22,9 +22,7 @@
The result is null-terminated if LEN is large enough for the full
name and the terminator. */
int
-__gethostname (name, len)
- char *name;
- size_t len;
+__gethostname (char *name, size_t len)
{
__set_errno (ENOSYS);
return -1;