cleanup

Re-format the code so that it complies with the C coding rule of picrin.