diff options
Diffstat (limited to 'sysdeps/mach/hurd/getdomain.c')
-rw-r--r-- | sysdeps/mach/hurd/getdomain.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sysdeps/mach/hurd/getdomain.c b/sysdeps/mach/hurd/getdomain.c index 0f32374bd1..043d6542be 100644 --- a/sysdeps/mach/hurd/getdomain.c +++ b/sysdeps/mach/hurd/getdomain.c @@ -23,13 +23,9 @@ The result is null-terminated if LEN is large enough for the full name and the terminator. */ int -__getdomainname (name, len) - char *name; - size_t len; +getdomainname (char *name, size_t len) { /* The NIS domain name is just the contents of the file /etc/nisdomain. */ ssize_t n = _hurd_get_host_config ("/etc/nisdomain", name, len); return n < 0 ? -1 : 0; } - -weak_alias (__getdomainname, getdomainname) |