Update util.c

Removed lint and FreeBSD ID information. Removed comments, standardized formatting.