summary refs log tree commit diff
path: root/posix/getpid.c
diff options
context:
space:
mode:
Diffstat (limited to 'posix/getpid.c')
-rw-r--r--posix/getpid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/getpid.c b/posix/getpid.c
index 4a64f57fa2..11a1865759 100644
--- a/posix/getpid.c
+++ b/posix/getpid.c
@@ -20,7 +20,7 @@
 
 /* Get the process ID of the calling process.  */
 int
-__getpid ()
+__getpid (void)
 {
   __set_errno (ENOSYS);
   return -1;