aboutsummaryrefslogtreecommitdiff
path: root/src/prng/srand48.c
blob: 0a56f6a07a26983727197cfc27ec1f5b05ab9b66 (plain)
1
2
3
4
5
6
#include <stdlib.h>

void srand48(long seed)
{
	seed48((unsigned short [3]){ 0x330e, seed, seed>>16 });
}