Document and re-indent util.c