Andrew Kelley 9bf283c085
fixups
* getrandom libc prototypes had the wrong return type
 * `total_read` local variable was unnecessary since the sub-slice
   buffer has a length
 * I was able to get rid of all the integer casts
 * the err == 0 check can be a switch case
 * add missing `return` statement
2019-08-20 15:25:30 -04:00
..
2019-06-20 19:29:25 -04:00
2019-08-20 15:25:30 -04:00
2019-08-20 15:25:30 -04:00