aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/getpid.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/getpid.c')
-rw-r--r--sysdeps/mach/hurd/getpid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/getpid.c b/sysdeps/mach/hurd/getpid.c
index e0a8865d4d..0c595f7df7 100644
--- a/sysdeps/mach/hurd/getpid.c
+++ b/sysdeps/mach/hurd/getpid.c
@@ -21,7 +21,7 @@
/* Get the process ID of the calling process. */
pid_t
-__getpid ()
+__getpid (void)
{
/* Assumes atomic word fetch and store, so doesn't lock _hurd_pid_lock. */
return _hurd_pid;