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