LibC: Add stubs for {init,set}state
Some port wanted these as it detected we had {,s}random
This commit is contained in:
parent
90deb9fb43
commit
5c9151d3e9
|
|
@ -888,3 +888,17 @@ void srandom(unsigned seed)
|
||||||
{
|
{
|
||||||
s_random_state.seed(seed);
|
s_random_state.seed(seed);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
char* initstate(unsigned seed, char* state, size_t size)
|
||||||
|
{
|
||||||
|
(void)seed;
|
||||||
|
(void)state;
|
||||||
|
(void)size;
|
||||||
|
ASSERT_NOT_REACHED();
|
||||||
|
}
|
||||||
|
|
||||||
|
char* setstate(char* state)
|
||||||
|
{
|
||||||
|
(void)state;
|
||||||
|
ASSERT_NOT_REACHED();
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue