LibC: Add stubs for {init,set}state
Some port wanted these as it detected we had {,s}random
This commit is contained in:
@@ -888,3 +888,17 @@ void srandom(unsigned 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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user