srandom/random on epiphany
Joel Sherrill
joel.sherrill@oarcorp.com
Thu Oct 29 14:20:00 GMT 2015
Hi
libc/machine/epiphany/machine/stdlib.h defines random and srandom
as simple wrappers for other methods. It does not support the
setstate() or initstate() method.
This is the only place in newlib random/srandom appear.
This causes some issues in third-party code parted to RTEMS.
Should this type of generic code be in a machine port?
My quick solution is to wrap this in a ifndef __rtems__ but
it seems more wrong than just something which impacts us.
Also there is no license/copyright header on this file.
Thoughts?
--joel
More information about the Newlib
mailing list