mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
23 lines
466 B
Plaintext
23 lines
466 B
Plaintext
From 3c4e98ad07feee1caa26ae3868c4cc5689a63d18 Mon Sep 17 00:00:00 2001
|
|
From: begasus <begasus@gmail.com>
|
|
Date: Sat, 2 Jun 2018 10:54:11 +0200
|
|
Subject: fix getpid
|
|
|
|
|
|
diff --git a/src/z-rand.c b/src/z-rand.c
|
|
index 57f0e4b..2fe064b 100644
|
|
--- a/src/z-rand.c
|
|
+++ b/src/z-rand.c
|
|
@@ -537,7 +537,7 @@ void rand_fix(u32b val)
|
|
rand_fixval = val;
|
|
}
|
|
|
|
-int getpid(void);
|
|
+pid_t getpid(void);
|
|
|
|
/**
|
|
* Another simple RNG that does not use any of the above state
|
|
--
|
|
2.16.4
|
|
|