aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/setdomain.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/setdomain.c')
-rw-r--r--sysdeps/mach/hurd/setdomain.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sysdeps/mach/hurd/setdomain.c b/sysdeps/mach/hurd/setdomain.c
index 8f786d46c5..3949d1a7f2 100644
--- a/sysdeps/mach/hurd/setdomain.c
+++ b/sysdeps/mach/hurd/setdomain.c
@@ -21,9 +21,7 @@
/* Set the name of the current YP domain to NAME, which is LEN bytes long.
This call is restricted to the super-user. */
int
-setdomainname (name, len)
- const char *name;
- size_t len;
+setdomainname (const char *name, size_t len)
{
/* The NIS domain name is just the contents of the file /etc/nisdomain. */
ssize_t n = _hurd_set_host_config ("/etc/nisdomain", name, len);