Made code C11 conformant.

Signed-off-by: bcnjr5 <bcnjr5@gmail.com>