about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/gethostid.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/gethostid.c')
-rw-r--r--sysdeps/mach/hurd/gethostid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/gethostid.c b/sysdeps/mach/hurd/gethostid.c
index d1d0c6225d..4fc3016977 100644
--- a/sysdeps/mach/hurd/gethostid.c
+++ b/sysdeps/mach/hurd/gethostid.c
@@ -21,7 +21,7 @@
 
 /* Return the current machine's Internet number.  */
 long int
-gethostid ()
+gethostid (void)
 {
   /* The hostid is just the contents of the file /etc/hostid,
      kept as text of hexadecimal digits.  */