summaryrefslogtreecommitdiff
path: root/proc
diff options
context:
space:
mode:
Diffstat (limited to 'proc')
-rw-r--r--proc/mgt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proc/mgt.c b/proc/mgt.c
index 1170e361..25844dbf 100644
--- a/proc/mgt.c
+++ b/proc/mgt.c
@@ -1219,7 +1219,7 @@ add_tasks (task_t task)
/* Allocate a new unused PID.
(Unused means it is neither the pid nor pgrp of any relevant data.) */
int
-genpid ()
+genpid (void)
{
#define WRAP_AROUND 30000
#define START_OVER 100