about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/sethostname.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/sethostname.c')
-rw-r--r--sysdeps/mach/hurd/sethostname.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sysdeps/mach/hurd/sethostname.c b/sysdeps/mach/hurd/sethostname.c
index 21b64e9686..469975eea0 100644
--- a/sysdeps/mach/hurd/sethostname.c
+++ b/sysdeps/mach/hurd/sethostname.c
@@ -22,9 +22,7 @@
    This call is restricted to the super-user.  */
 /* XXX should be __sethostname ? */
 int
-sethostname (name, len)
-     const char *name;
-     size_t len;
+sethostname (const char *name, size_t len)
 {
   /* The host name is just the contents of the file /etc/hostname.  */
   ssize_t n = _hurd_set_host_config ("/etc/hostname", name, len);