about summary refs log tree commit diff
path: root/misc/getdomain.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/getdomain.c')
-rw-r--r--misc/getdomain.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/misc/getdomain.c b/misc/getdomain.c
index c5ab3a5e5e..db57c3dd55 100644
--- a/misc/getdomain.c
+++ b/misc/getdomain.c
@@ -29,9 +29,7 @@
 /* The `uname' information includes the domain name.  */
 
 int
-getdomainname (name, len)
-    char *name;
-    size_t len;
+getdomainname (char *name, size_t len)
 {
   struct utsname u;
   size_t u_len;
@@ -47,9 +45,7 @@ getdomainname (name, len)
 #else
 
 int
-getdomainname (name, len)
-     char *name;
-     size_t len;
+getdomainname (char *name, size_t len)
 {
   __set_errno (ENOSYS);
   return -1;