summaryrefslogtreecommitdiff
path: root/libc/sysdeps/mach/hurd/getppid.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/mach/hurd/getppid.c')
-rw-r--r--libc/sysdeps/mach/hurd/getppid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/sysdeps/mach/hurd/getppid.c b/libc/sysdeps/mach/hurd/getppid.c
index c622ee9e6..9e35645a2 100644
--- a/libc/sysdeps/mach/hurd/getppid.c
+++ b/libc/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;