summary refs log tree commit diff
path: root/sysdeps/mach/hurd/getppid.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/getppid.c')
-rw-r--r--sysdeps/mach/hurd/getppid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/getppid.c b/sysdeps/mach/hurd/getppid.c
index c622ee9e68..9e35645a26 100644
--- a/sysdeps/mach/hurd/getppid.c
+++ b/sysdeps/mach/hurd/getppid.c
@@ -23,7 +23,7 @@
 
 /* Get the parent process ID of the calling process.  */
 pid_t
-__getppid ()
+__getppid (void)
 {
   /* Assumes atomic word fetch and store, so doesn't lock _hurd_pid_lock.  */
   return _hurd_ppid;