Revert "Update random.c"

This reverts commit c700d88755e5c040975c7588bc3bc8e7b9422fa2.