In ctr_prng.c, the arrInc() function uses a for loop which requires defining a variable before initializing. As we're already going backward there, we can just replace the for loop with a do..while loop instead.
Makefile explicitly uses GCC, however, most BSD systems don't use GCC, instead, they ship Clang by default. Dropping explicitly stating the compiler is much better as we can safely assume the CC variable already defaults to an existing/installed compiler.
Hello,
ctr_prng.c
, thearrInc()
function uses a for loop which requires defining a variable before initializing. As we're already going backward there, we can just replace the for loop with ado..while
loop instead.CC
variable already defaults to an existing/installed compiler.