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