about summary refs log tree commit diff
path: root/sysdeps/posix/gethostname.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/posix/gethostname.c')
-rw-r--r--sysdeps/posix/gethostname.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sysdeps/posix/gethostname.c b/sysdeps/posix/gethostname.c
index 49177059c6..61e75e8b80 100644
--- a/sysdeps/posix/gethostname.c
+++ b/sysdeps/posix/gethostname.c
@@ -24,9 +24,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)
 {
   struct utsname buf;
   size_t node_len;