amiga_boottest
diff src/rng.h @ 3:555b986cc420
IFS
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Thu, 22 Feb 2018 14:46:32 +0200 |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/rng.h Thu Feb 22 14:46:32 2018 +0200 1.3 @@ -0,0 +1,11 @@ 1.4 +#ifndef RNG_H_ 1.5 +#define RNG_H_ 1.6 + 1.7 +#include "inttypes.h" 1.8 + 1.9 +#define RAND_MAX 0x7fffffff 1.10 + 1.11 +void srand(unsigned int s); 1.12 +int32_t rand(void); 1.13 + 1.14 +#endif /* RNG_H_ */