Fix 'return foo()' in order to use Clang

Clang complains about 'return arc4random_buf()' in a function that should return void. So, now it first calls arc4random_buf() and then returns.